@appbaseio/reactivesearch-vue 3.0.0-rc.8 → 3.1.0-rc.1
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 +23301 -41871
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +32 -32
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{Button-f96a0570.js → Button-d4da7470.js} +7 -14
- package/dist/cjs/{ComponentWrapper-0b9ffb1a.js → ComponentWrapper-b5c78446.js} +1 -4
- package/dist/cjs/{DropDown-82d92f8b.js → DropDown-ec31bd3f.js} +8 -19
- package/dist/cjs/DynamicRangeSlider.js +3 -3
- package/dist/cjs/Input-497be42a.js +74 -0
- package/dist/cjs/MultiDropdownList.js +7 -8
- package/dist/cjs/MultiList.js +5 -5
- package/dist/cjs/MultiRange.js +4 -4
- package/dist/cjs/{Pagination-bcf8af5f.js → Pagination-b953a80a.js} +2 -2
- package/dist/cjs/{PreferencesConsumer-85dee673.js → PreferencesConsumer-7bee3c57.js} +1 -1
- package/dist/cjs/RangeInput.js +5 -5
- package/dist/cjs/RangeSlider.js +4 -4
- package/dist/cjs/ReactiveBase.js +23 -21
- package/dist/cjs/ReactiveComponent.js +4 -4
- package/dist/cjs/ReactiveGoogleMap.js +6 -7
- package/dist/cjs/ReactiveList.js +6 -6
- package/dist/cjs/ResultCard.js +1 -1
- package/dist/cjs/ResultList.js +1 -1
- package/dist/cjs/SelectedFilters.js +3 -4
- package/dist/cjs/SingleDropdownList.js +7 -8
- package/dist/cjs/SingleList.js +5 -5
- package/dist/cjs/SingleRange.js +4 -4
- package/dist/cjs/StateProvider.js +1 -1
- package/dist/cjs/ToggleButton.js +5 -6
- package/dist/cjs/{index-779ed366.js → index-1f41363f.js} +7 -3
- package/dist/cjs/index.js +9 -13
- package/dist/cjs/{install-2a1c953d.js → install-fd2155c7.js} +221 -1599
- package/dist/cjs/install.js +9 -12
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-a5f1745e.js → vueTypes-1bf00978.js} +0 -18
- package/dist/es/{Button-5c2cf399.js → Button-fd869491.js} +7 -14
- package/dist/es/{ComponentWrapper-a2635cfc.js → ComponentWrapper-e91c9d43.js} +1 -4
- package/dist/es/{DropDown-8075451b.js → DropDown-74c20431.js} +9 -19
- package/dist/es/DynamicRangeSlider.js +3 -3
- package/dist/es/Input-f7499ef8.js +69 -0
- package/dist/es/MultiDropdownList.js +7 -8
- package/dist/es/MultiList.js +5 -5
- package/dist/es/MultiRange.js +4 -4
- package/dist/es/{Pagination-50fc3ef5.js → Pagination-c2745bec.js} +2 -2
- package/dist/es/{PreferencesConsumer-b058d14e.js → PreferencesConsumer-0856ed43.js} +1 -1
- package/dist/es/RangeInput.js +5 -5
- package/dist/es/RangeSlider.js +4 -4
- package/dist/es/ReactiveBase.js +23 -21
- package/dist/es/ReactiveComponent.js +4 -4
- package/dist/es/ReactiveGoogleMap.js +6 -7
- package/dist/es/ReactiveList.js +6 -6
- package/dist/es/ResultCard.js +1 -1
- package/dist/es/ResultList.js +1 -1
- package/dist/es/SelectedFilters.js +3 -4
- package/dist/es/SingleDropdownList.js +7 -8
- package/dist/es/SingleList.js +5 -5
- package/dist/es/SingleRange.js +4 -4
- package/dist/es/StateProvider.js +1 -1
- package/dist/es/ToggleButton.js +5 -6
- package/dist/es/{index-882489e1.js → index-104f1dfb.js} +7 -3
- package/dist/es/index.js +10 -13
- package/dist/es/{install-f4f2557b.js → install-db7d6387.js} +227 -1604
- package/dist/es/install.js +9 -12
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-09cab4d3.js → vueTypes-f1923c72.js} +0 -18
- package/package.json +5 -7
- package/dist/cjs/Input-fcd780de.js +0 -156
- package/dist/es/Input-4cd74b38.js +0 -148
package/dist/cjs/install.js
CHANGED
|
@@ -12,15 +12,15 @@ require('@appbaseio/reactivecore/lib/utils/helper');
|
|
|
12
12
|
require('@appbaseio/vue-emotion');
|
|
13
13
|
require('@emotion/css');
|
|
14
14
|
require('polished');
|
|
15
|
-
require('./Button-
|
|
16
|
-
require('./vueTypes-
|
|
17
|
-
require('./Pagination-
|
|
15
|
+
require('./Button-d4da7470.js');
|
|
16
|
+
require('./vueTypes-1bf00978.js');
|
|
17
|
+
require('./Pagination-b953a80a.js');
|
|
18
18
|
require('./ReactiveList.js');
|
|
19
19
|
require('@appbaseio/reactivecore/lib/utils/transform');
|
|
20
20
|
require('redux');
|
|
21
|
-
require('./index-
|
|
22
|
-
require('./ComponentWrapper-
|
|
23
|
-
require('./PreferencesConsumer-
|
|
21
|
+
require('./index-1f41363f.js');
|
|
22
|
+
require('./ComponentWrapper-b5c78446.js');
|
|
23
|
+
require('./PreferencesConsumer-7bee3c57.js');
|
|
24
24
|
require('./Title-8802a218.js');
|
|
25
25
|
require('./ListItem-7a682970.js');
|
|
26
26
|
require('./Card-63968d94.js');
|
|
@@ -32,15 +32,12 @@ require('@appbaseio/analytics');
|
|
|
32
32
|
require('url-search-params-polyfill');
|
|
33
33
|
require('./ReactiveBase.js');
|
|
34
34
|
require('hotkeys-js');
|
|
35
|
-
require('
|
|
36
|
-
require('
|
|
37
|
-
|
|
38
|
-
require('./DropDown-82d92f8b.js');
|
|
39
|
-
require('./Input-fcd780de.js');
|
|
35
|
+
var install = require('./install-fd2155c7.js');
|
|
36
|
+
require('./DropDown-ec31bd3f.js');
|
|
37
|
+
require('./Input-497be42a.js');
|
|
40
38
|
require('compute-scroll-into-view');
|
|
41
39
|
require('./Container-29f049b2.js');
|
|
42
40
|
require('vue-highlight-words');
|
|
43
|
-
require('@appbaseio/reactivecore/lib/actions/query');
|
|
44
41
|
require('@appbaseio/reactivecore/lib/utils/suggestions');
|
|
45
42
|
require('./FormControlList-fadd792f.js');
|
|
46
43
|
require('./utils-c9bd5628.js');
|
package/dist/cjs/version.js
CHANGED
|
@@ -124,24 +124,6 @@ var types = {
|
|
|
124
124
|
method: VueTypes.string,
|
|
125
125
|
headers: VueTypes.object,
|
|
126
126
|
body: VueTypes.object
|
|
127
|
-
}),
|
|
128
|
-
AIConfig: VueTypes.shape({
|
|
129
|
-
systemPrompt: VueTypes.string,
|
|
130
|
-
topDocsForContext: VueTypes.number,
|
|
131
|
-
maxTokens: VueTypes.number,
|
|
132
|
-
docTemplate: VueTypes.string,
|
|
133
|
-
queryTemplate: VueTypes.string,
|
|
134
|
-
temperature: VueTypes.number
|
|
135
|
-
}),
|
|
136
|
-
AIUIConfig: VueTypes.shape({
|
|
137
|
-
loaderMessage: VueTypes.string,
|
|
138
|
-
// slot #loaderMessage should also be supported
|
|
139
|
-
showSourceDocuments: VueTypes.bool,
|
|
140
|
-
sourceDocumentLabel: VueTypes.string,
|
|
141
|
-
onSourceClick: VueTypes.func,
|
|
142
|
-
// renderAskButton: VueTypes.func,has to be a slot
|
|
143
|
-
askButton: VueTypes.bool,
|
|
144
|
-
showFeedback: VueTypes.bool
|
|
145
127
|
})
|
|
146
128
|
};
|
|
147
129
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
2
|
-
import { hexToRGBA } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
3
2
|
import { styled } from '@appbaseio/vue-emotion';
|
|
4
3
|
import { css } from '@emotion/css';
|
|
5
4
|
import { darken, rgba, lighten } from 'polished';
|
|
@@ -23,33 +22,27 @@ var disabled = function disabled(_ref3) {
|
|
|
23
22
|
var theme = _ref3.theme;
|
|
24
23
|
return "\n\tbackground-color: " + (theme.colors.backgroundColor ? lighten(0.1, theme.colors.backgroundColor) : '#fafafa') + ";\n\tcolor: #ccc;\n\tcursor: not-allowed;\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: " + (theme.colors.backgroundColor ? lighten(0.2, theme.colors.backgroundColor) : '#fafafa') + ";\n\t}\n";
|
|
25
24
|
};
|
|
26
|
-
var
|
|
25
|
+
var Button = styled('button')(_templateObject5 || (_templateObject5 = _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) {
|
|
27
26
|
var theme = _ref4.theme;
|
|
28
|
-
return "\n\tborder: 1px solid " + theme.colors.primaryColor + ";\n\tcolor: " + theme.colors.primaryColor + ";\n\tbackground-color: " + theme.colors.primaryTextColor + ";\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: " + darken(0.1, hexToRGBA(theme.colors.primaryTextColor)) + ";\n\t}\n";
|
|
29
|
-
};
|
|
30
|
-
var Button = styled('button')(_templateObject5 || (_templateObject5 = _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\t", ";\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 (_ref5) {
|
|
31
|
-
var theme = _ref5.theme;
|
|
32
27
|
return theme.colors ? theme.colors.backgroundColor : '#eee';
|
|
28
|
+
}, function (_ref5) {
|
|
29
|
+
var theme = _ref5.theme;
|
|
30
|
+
return theme.colors ? theme.colors.textColor : '';
|
|
33
31
|
}, function (_ref6) {
|
|
34
32
|
var theme = _ref6.theme;
|
|
35
|
-
return theme.colors ? theme.colors.
|
|
33
|
+
return theme.colors && theme.colors.backgroundColor ? darken(0.1, theme.colors.backgroundColor) : '#ccc';
|
|
36
34
|
}, function (_ref7) {
|
|
37
35
|
var theme = _ref7.theme;
|
|
38
|
-
return theme.colors && theme.colors.
|
|
36
|
+
return theme.colors && theme.colors.primaryColor ? rgba(theme.colors.primaryColor, 0.6) : 'unset';
|
|
39
37
|
}, function (_ref8) {
|
|
40
38
|
var theme = _ref8.theme;
|
|
41
|
-
return theme.colors && theme.colors.primaryColor ? rgba(theme.colors.primaryColor, 0.6) : 'unset';
|
|
42
|
-
}, function (_ref9) {
|
|
43
|
-
var theme = _ref9.theme;
|
|
44
39
|
return theme.colors && theme.colors.primaryColor ? "0 0 0 2px " + rgba(theme.colors.primaryColor, 0.3) : '';
|
|
45
40
|
}, function (props) {
|
|
46
|
-
return props.
|
|
41
|
+
return props.primary ? primary : null;
|
|
47
42
|
}, function (props) {
|
|
48
43
|
return props.disabled ? disabled : null;
|
|
49
44
|
}, function (props) {
|
|
50
45
|
return props.large && large;
|
|
51
|
-
}, function (props) {
|
|
52
|
-
return props.primary ? primary : null;
|
|
53
46
|
});
|
|
54
47
|
var loadMoreContainer = css({
|
|
55
48
|
margin: '5px 0',
|
|
@@ -4,7 +4,7 @@ import { a as _extends } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
|
4
4
|
import { h } from 'vue';
|
|
5
5
|
import VueTypes from 'vue-types';
|
|
6
6
|
import { getInternalComponentID } from '@appbaseio/reactivecore/lib/utils/transform';
|
|
7
|
-
import { c as connect, b as getCamelCase, d as getValidPropsKeys } from './index-
|
|
7
|
+
import { c as connect, b as getCamelCase, d as getValidPropsKeys } from './index-104f1dfb.js';
|
|
8
8
|
|
|
9
9
|
var addComponent = Actions.addComponent,
|
|
10
10
|
removeComponent = Actions.removeComponent,
|
|
@@ -49,9 +49,6 @@ var ComponentWrapper = function ComponentWrapper(component, options) {
|
|
|
49
49
|
Object.keys(componentProps).forEach(function (key) {
|
|
50
50
|
parsedProps[getCamelCase(key)] = componentProps[key];
|
|
51
51
|
});
|
|
52
|
-
if (options.componentType === componentTypes.AIAnswer) {
|
|
53
|
-
parsedProps.enableAI = true;
|
|
54
|
-
}
|
|
55
52
|
this.componentProps = parsedProps;
|
|
56
53
|
this.componentId = this.componentProps.componentId;
|
|
57
54
|
this.react = this.componentProps.react;
|
|
@@ -4,17 +4,17 @@ import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPlugin
|
|
|
4
4
|
import { createVNode, createTextVNode, mergeProps } from 'vue';
|
|
5
5
|
import VueTypes from 'vue-types';
|
|
6
6
|
import { styled } from '@appbaseio/vue-emotion';
|
|
7
|
-
import { t as types } from './vueTypes-
|
|
8
|
-
import { a as isFunction } from './index-
|
|
9
|
-
import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-
|
|
7
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
8
|
+
import { a as isFunction } from './index-104f1dfb.js';
|
|
9
|
+
import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-f7499ef8.js';
|
|
10
10
|
import computeScrollIntoView from 'compute-scroll-into-view';
|
|
11
11
|
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
12
12
|
|
|
13
13
|
var _templateObject;
|
|
14
|
-
var InputWrapper = styled('span')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n
|
|
14
|
+
var InputWrapper = styled('span')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n flex: 1;\n position: relative;\n"])));
|
|
15
15
|
|
|
16
16
|
var _templateObject$1;
|
|
17
|
-
var IconGroup = styled('div')(_templateObject$1 || (_templateObject$1 = _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
|
|
17
|
+
var IconGroup = styled('div')(_templateObject$1 || (_templateObject$1 = _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) {
|
|
18
18
|
var positionType = _ref.positionType;
|
|
19
19
|
if (positionType === 'absolute') {
|
|
20
20
|
return "\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 50%;\n\t\t\t\ttransform: translateY(-50%);\n\t\t\t";
|
|
@@ -23,12 +23,9 @@ var IconGroup = styled('div')(_templateObject$1 || (_templateObject$1 = _taggedT
|
|
|
23
23
|
}, function (_ref2) {
|
|
24
24
|
var groupPosition = _ref2.groupPosition;
|
|
25
25
|
return groupPosition === 'right' ? "\n\t\t\t\t\tright: 0;\n\t\t\t " : "\n\t\t\t\t\tleft: 0;\n\t\t\t ";
|
|
26
|
-
}, function (_ref3) {
|
|
27
|
-
var enableAI = _ref3.enableAI;
|
|
28
|
-
return enableAI ? "\n\t\ttop: 0%;\n\t transform: translateY(0);\n \theight: 42px;\n\t" : '';
|
|
29
26
|
});
|
|
30
27
|
|
|
31
|
-
var _templateObject$2
|
|
28
|
+
var _templateObject$2;
|
|
32
29
|
var IconWrapper = styled('div')(_templateObject$2 || (_templateObject$2 = _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%;\n\tmin-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) {
|
|
33
30
|
var _ref$theme = _ref.theme,
|
|
34
31
|
theme = _ref$theme === void 0 ? {} : _ref$theme;
|
|
@@ -38,13 +35,6 @@ var IconWrapper = styled('div')(_templateObject$2 || (_templateObject$2 = _tagge
|
|
|
38
35
|
theme = _ref2$theme === void 0 ? {} : _ref2$theme;
|
|
39
36
|
return theme.colors ? theme.colors.borderColor : '#000';
|
|
40
37
|
});
|
|
41
|
-
var ButtonIconWrapper = styled(IconWrapper)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n\tborder-radius: 4px;\n\tvertical-align: middle;\n\theight: 25px;\n\tfont-size: 12px;\n\tborder: 1px solid ", ";\n\tcolor: ", ";\n\tmax-width: unset;\n\tpadding: 5px;\n"])), function (_ref3) {
|
|
42
|
-
var theme = _ref3.theme;
|
|
43
|
-
return theme.colors ? theme.colors.primaryColor : '#000';
|
|
44
|
-
}, function (_ref4) {
|
|
45
|
-
var theme = _ref4.theme;
|
|
46
|
-
return theme.colors ? theme.colors.primaryColor : '#000';
|
|
47
|
-
});
|
|
48
38
|
|
|
49
39
|
/**
|
|
50
40
|
* Scroll node into view if necessary
|
|
@@ -415,7 +405,7 @@ var CancelSvg = (function () {
|
|
|
415
405
|
}, null)]);
|
|
416
406
|
});
|
|
417
407
|
|
|
418
|
-
var _templateObject$3, _templateObject2
|
|
408
|
+
var _templateObject$3, _templateObject2;
|
|
419
409
|
var small = "\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";
|
|
420
410
|
var dark = function dark(_ref) {
|
|
421
411
|
var theme = _ref.theme;
|
|
@@ -427,7 +417,7 @@ var Select = styled('button')(_templateObject$3 || (_templateObject$3 = _taggedT
|
|
|
427
417
|
var themePreset = _ref2.themePreset;
|
|
428
418
|
return themePreset === 'dark' && dark;
|
|
429
419
|
});
|
|
430
|
-
var Tick = styled('span')(_templateObject2
|
|
420
|
+
var Tick = styled('span')(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n\twidth: 16px;\n\theight: 16px;\n\tdisplay: inline-block;\n\tposition: relative;\n\tuser-select: none;\n\talign-items: center;\n\n\t&::after {\n\t\tbox-sizing: content-box;\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tbackground-color: transparent;\n\t\ttop: 50%;\n\t\tleft: 0;\n\t\twidth: 8px;\n\t\theight: 4px;\n\t\tmargin-top: -4px;\n\t\tborder-style: solid;\n\t\tborder-color: ", ";\n\t\tborder-width: 0 0 2px 2px;\n\t\tborder-radius: 0;\n\t\tborder-image: none;\n\t\ttransform: rotate(-45deg) scale(1);\n\t\ttransition: all 200ms ease-out;\n\t}\n"])), function (_ref3) {
|
|
431
421
|
var theme = _ref3.theme;
|
|
432
422
|
return theme.colors.primaryColor;
|
|
433
423
|
});
|
|
@@ -697,4 +687,4 @@ var Dropdown = {
|
|
|
697
687
|
}
|
|
698
688
|
};
|
|
699
689
|
|
|
700
|
-
export {
|
|
690
|
+
export { CancelSvg as C, Downshift as D, IconWrapper as I, IconGroup as a, InputWrapper as b, Dropdown as c };
|
|
@@ -4,10 +4,10 @@ import './_rollupPluginBabelHelpers-ded08042.js';
|
|
|
4
4
|
import { createVNode, resolveComponent, mergeProps } from 'vue';
|
|
5
5
|
import VueTypes from 'vue-types';
|
|
6
6
|
import '@appbaseio/vue-emotion';
|
|
7
|
-
import { t as types } from './vueTypes-
|
|
7
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
8
8
|
import 'redux';
|
|
9
|
-
import { j as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical, c as connect } from './index-
|
|
10
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
9
|
+
import { j as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical, c as connect } from './index-104f1dfb.js';
|
|
10
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
11
11
|
import { T as Title } from './Title-863dfa42.js';
|
|
12
12
|
import { C as Container } from './Container-d00219f7.js';
|
|
13
13
|
import { g as getComponents, N as NoSSR, S as Slider } from './ssr-c630ccb9.js';
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
2
|
+
import { styled } from '@appbaseio/vue-emotion';
|
|
3
|
+
import { css } from '@emotion/css';
|
|
4
|
+
|
|
5
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
6
|
+
var alertBorder = function alertBorder(_ref) {
|
|
7
|
+
var theme = _ref.theme;
|
|
8
|
+
return "\n\tborder: 1px solid " + theme.colors.alertColor + ";\n";
|
|
9
|
+
};
|
|
10
|
+
var input = "\n\twidth: 100%;\n\tline-height: 1.5;\n\tmin-height: 42px;\n\tpadding: 8px 12px;\n\tborder: 1px solid #ccc;\n\tbackground-color: #fafafa;\n\tfont-size: 0.9rem;\n\toutline: none;\n\theight: 100%;\n\n\t&:focus {\n\t\tbackground-color: #fff;\n\t}\n";
|
|
11
|
+
var dark = function dark(theme) {
|
|
12
|
+
return "\n\tborder-color: " + theme.colors.borderColor + ";\n";
|
|
13
|
+
};
|
|
14
|
+
var darkInput = function darkInput(_ref2) {
|
|
15
|
+
var theme = _ref2.theme;
|
|
16
|
+
return "\n\tbackground-color: " + theme.colors.backgroundColor + ";\n\tcolor: " + theme.colors.textColor + ";\n\t" + dark(theme) + ";\n\n\t&:focus {\n\t\tbackground-color: " + theme.colors.backgroundColor + ";\n\t}\n";
|
|
17
|
+
};
|
|
18
|
+
var Input = styled('input')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\t", ";\n\n\t&:focus {\n\t\tbackground-color: #fff;\n\t}\n\t", ";\n\n\t", ";\n\n\t", ";\n\n\t", ";\n\t", ";\n\n\t", ";\n\n\t", ";\n\t", ";\n\t", ";\n\n\t", ";\n"])), input, function (_ref3) {
|
|
19
|
+
var themePreset = _ref3.themePreset,
|
|
20
|
+
theme = _ref3.theme;
|
|
21
|
+
return themePreset === 'dark' && darkInput({
|
|
22
|
+
theme: theme
|
|
23
|
+
});
|
|
24
|
+
}, function (props) {
|
|
25
|
+
return props.showIcon && props.iconPosition === 'left' && "\n\t\t\tpadding-left: 36px;\n\t\t";
|
|
26
|
+
}, function (props) {
|
|
27
|
+
return props.showIcon && props.iconPosition === 'right' && "\n\t\t\tpadding-right: 36px;\n\t\t";
|
|
28
|
+
}, function (props) {
|
|
29
|
+
return (
|
|
30
|
+
// for clear icon
|
|
31
|
+
props.showClear && "\n\t\t\tpadding-right: 36px;\n\t\t"
|
|
32
|
+
);
|
|
33
|
+
}, function (props) {
|
|
34
|
+
return (
|
|
35
|
+
// for voice search icon
|
|
36
|
+
props.showVoiceSearch && "\n\t\t\tpadding-right: 36px;\n\t\t"
|
|
37
|
+
);
|
|
38
|
+
}, function (props) {
|
|
39
|
+
return (
|
|
40
|
+
// for clear icon with search icon
|
|
41
|
+
props.showClear && props.showIcon && props.iconPosition === 'right' && "\n\t\t\tpadding-right: 66px;\n\t\t"
|
|
42
|
+
);
|
|
43
|
+
}, function (props) {
|
|
44
|
+
return (
|
|
45
|
+
// for voice search icon with search icon
|
|
46
|
+
props.showVoiceSearch && props.showIcon && props.iconPosition === 'right' && "\n\t\t\tpadding-right: 66px;\n\t\t"
|
|
47
|
+
);
|
|
48
|
+
}, function (props) {
|
|
49
|
+
return (
|
|
50
|
+
// for voice search icon with clear icon
|
|
51
|
+
props.showVoiceSearch && props.showIcon && "\n\t\t\tpadding-right: 66px;\n\t\t"
|
|
52
|
+
);
|
|
53
|
+
}, function (props) {
|
|
54
|
+
return (
|
|
55
|
+
// for clear icon with search icon and voice search
|
|
56
|
+
props.showClear && props.showIcon && props.showVoiceSearch && props.iconPosition === 'right' && "\n\t\t\tpadding-right: 90px;\n\t\t"
|
|
57
|
+
);
|
|
58
|
+
}, function (props) {
|
|
59
|
+
return props.alert && alertBorder;
|
|
60
|
+
});
|
|
61
|
+
var suggestions = function suggestions(themePreset, theme) {
|
|
62
|
+
return css(_templateObject2 || (_templateObject2 = _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));
|
|
63
|
+
};
|
|
64
|
+
var suggestionsContainer = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n\tposition: relative;\n\t.cancel-icon {\n\t\tcursor: pointer;\n\t}\n"])));
|
|
65
|
+
var noSuggestions = function noSuggestions(themePreset, theme) {
|
|
66
|
+
return css(_templateObject4 || (_templateObject4 = _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));
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export { Input as I, suggestions as a, noSuggestions as n, suggestionsContainer as s };
|
|
@@ -4,20 +4,19 @@ import '@vue/babel-helper-vue-transform-on';
|
|
|
4
4
|
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
5
5
|
import { createVNode, isVNode } from 'vue';
|
|
6
6
|
import VueTypes from 'vue-types';
|
|
7
|
-
import '@appbaseio/reactivecore/lib/utils/helper';
|
|
8
7
|
import '@appbaseio/vue-emotion';
|
|
9
8
|
import '@emotion/css';
|
|
10
9
|
import 'polished';
|
|
11
|
-
import { l as loadMoreContainer, B as Button } from './Button-
|
|
12
|
-
import { t as types } from './vueTypes-
|
|
10
|
+
import { l as loadMoreContainer, B as Button } from './Button-fd869491.js';
|
|
11
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
13
12
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
14
13
|
import 'redux';
|
|
15
|
-
import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, n as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-
|
|
16
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
17
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
14
|
+
import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, n as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-104f1dfb.js';
|
|
15
|
+
import { C as ComponentWrapper } from './ComponentWrapper-e91c9d43.js';
|
|
16
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
18
17
|
import { T as Title } from './Title-863dfa42.js';
|
|
19
|
-
import { c as Dropdown } from './DropDown-
|
|
20
|
-
import './Input-
|
|
18
|
+
import { c as Dropdown } from './DropDown-74c20431.js';
|
|
19
|
+
import './Input-f7499ef8.js';
|
|
21
20
|
import 'compute-scroll-into-view';
|
|
22
21
|
import { C as Container } from './Container-d00219f7.js';
|
|
23
22
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
package/dist/es/MultiList.js
CHANGED
|
@@ -6,14 +6,14 @@ import VueTypes from 'vue-types';
|
|
|
6
6
|
import '@appbaseio/vue-emotion';
|
|
7
7
|
import '@emotion/css';
|
|
8
8
|
import 'polished';
|
|
9
|
-
import { t as types } from './vueTypes-
|
|
9
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
|
-
import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, m as isEvent, n as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
14
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
12
|
+
import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, m as isEvent, n as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-104f1dfb.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-e91c9d43.js';
|
|
14
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
15
15
|
import { T as Title } from './Title-863dfa42.js';
|
|
16
|
-
import { I as Input } from './Input-
|
|
16
|
+
import { I as Input } from './Input-f7499ef8.js';
|
|
17
17
|
import { C as Container } from './Container-d00219f7.js';
|
|
18
18
|
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
19
19
|
import { U as UL, C as Checkbox } from './FormControlList-fe6eaee4.js';
|
package/dist/es/MultiRange.js
CHANGED
|
@@ -6,12 +6,12 @@ import { createVNode, mergeProps, isVNode } from 'vue';
|
|
|
6
6
|
import VueTypes from 'vue-types';
|
|
7
7
|
import '@appbaseio/vue-emotion';
|
|
8
8
|
import 'polished';
|
|
9
|
-
import { t as types } from './vueTypes-
|
|
9
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
|
-
import { n as parseValueArray, j as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
14
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
12
|
+
import { n as parseValueArray, j as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-104f1dfb.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-e91c9d43.js';
|
|
14
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
15
15
|
import { T as Title } from './Title-863dfa42.js';
|
|
16
16
|
import { C as Container } from './Container-d00219f7.js';
|
|
17
17
|
import { U as UL, C as Checkbox } from './FormControlList-fe6eaee4.js';
|
|
@@ -2,8 +2,8 @@ import { helper } from '@appbaseio/reactivecore';
|
|
|
2
2
|
import _transformOn from '@vue/babel-helper-vue-transform-on';
|
|
3
3
|
import { createVNode, mergeProps, createTextVNode, isVNode } from 'vue';
|
|
4
4
|
import VueTypes from 'vue-types';
|
|
5
|
-
import { p as pagination, B as Button } from './Button-
|
|
6
|
-
import { t as types } from './vueTypes-
|
|
5
|
+
import { p as pagination, B as Button } from './Button-fd869491.js';
|
|
6
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
7
7
|
|
|
8
8
|
function _isSlot(s) {
|
|
9
9
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as _extends } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
2
2
|
import { h } from 'vue';
|
|
3
|
-
import { b as getCamelCase } from './index-
|
|
3
|
+
import { b as getCamelCase } from './index-104f1dfb.js';
|
|
4
4
|
|
|
5
5
|
var deepValue = function deepValue(o, p) {
|
|
6
6
|
return p.split('.').reduce(function (a, v) {
|
package/dist/es/RangeInput.js
CHANGED
|
@@ -7,15 +7,15 @@ import VueTypes from 'vue-types';
|
|
|
7
7
|
import { styled } from '@appbaseio/vue-emotion';
|
|
8
8
|
import '@emotion/css';
|
|
9
9
|
import 'polished';
|
|
10
|
-
import { t as types } from './vueTypes-
|
|
10
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
11
11
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
12
12
|
import 'redux';
|
|
13
|
-
import { c as connect } from './index-
|
|
14
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
15
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
13
|
+
import { c as connect } from './index-104f1dfb.js';
|
|
14
|
+
import { C as ComponentWrapper } from './ComponentWrapper-e91c9d43.js';
|
|
15
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
16
16
|
import './Title-863dfa42.js';
|
|
17
17
|
import { F as Flex } from './Flex-25792bc3.js';
|
|
18
|
-
import { I as Input } from './Input-
|
|
18
|
+
import { I as Input } from './Input-f7499ef8.js';
|
|
19
19
|
import { C as Container } from './Container-d00219f7.js';
|
|
20
20
|
import './ssr-c630ccb9.js';
|
|
21
21
|
import { RangeConnected as RangeConnected$1 } from './RangeSlider.js';
|
package/dist/es/RangeSlider.js
CHANGED
|
@@ -4,12 +4,12 @@ import './_rollupPluginBabelHelpers-ded08042.js';
|
|
|
4
4
|
import { createVNode, resolveComponent, mergeProps } from 'vue';
|
|
5
5
|
import VueTypes from 'vue-types';
|
|
6
6
|
import '@appbaseio/vue-emotion';
|
|
7
|
-
import { t as types } from './vueTypes-
|
|
7
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
8
8
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
9
9
|
import 'redux';
|
|
10
|
-
import { j as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-
|
|
11
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
12
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
10
|
+
import { j as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-104f1dfb.js';
|
|
11
|
+
import { C as ComponentWrapper } from './ComponentWrapper-e91c9d43.js';
|
|
12
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
13
13
|
import { T as Title } from './Title-863dfa42.js';
|
|
14
14
|
import { C as Container } from './Container-d00219f7.js';
|
|
15
15
|
import { g as getComponents, N as NoSSR, S as Slider } from './ssr-c630ccb9.js';
|
package/dist/es/ReactiveBase.js
CHANGED
|
@@ -5,9 +5,9 @@ import { h, createVNode, isVNode } from 'vue';
|
|
|
5
5
|
import VueTypes from 'vue-types';
|
|
6
6
|
import { isEqual as isEqual$1, transformRequestUsingEndpoint } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
7
7
|
import { styled, createCache } from '@appbaseio/vue-emotion';
|
|
8
|
-
import { t as types } from './vueTypes-
|
|
8
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
9
9
|
import 'redux';
|
|
10
|
-
import { c as connect, e as composeThemeObject, X as X_SEARCH_CLIENT } from './index-
|
|
10
|
+
import { c as connect, e as composeThemeObject, X as X_SEARCH_CLIENT } from './index-104f1dfb.js';
|
|
11
11
|
import configureStore, { Actions as Actions$1 } from '@appbaseio/reactivecore/lib';
|
|
12
12
|
import { updateAnalyticsConfig } from '@appbaseio/reactivecore/lib/actions/analytics';
|
|
13
13
|
import Appbase from 'appbase-js';
|
|
@@ -63,17 +63,12 @@ var Base = function Base(_ref) {
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
};
|
|
66
|
-
var Base$1 = styled(Base)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\
|
|
67
|
-
var
|
|
68
|
-
|
|
66
|
+
var Base$1 = styled(Base)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\t", "\n\twidth: 100%;\n\n\tinput,\n\tbutton,\n\ttextarea,\n\tselect {\n\t\tfont-family: ", ";\n\t}\n\n\t*,\n\t*:before,\n\t*:after {\n\t\tbox-sizing: border-box;\n\t}\n"])), function (_ref2) {
|
|
67
|
+
var userThemeProp = _ref2.userThemeProp,
|
|
68
|
+
theme = _ref2.theme;
|
|
69
|
+
return userThemeProp === false ? '' : "font-family: " + (theme && theme.typography ? theme.typography.fontFamily : 'unset') + ";\n\tfont-size: " + (theme && theme.typography ? theme.typography.fontSize : 'unset') + ";\n\tcolor: " + (theme && theme.colors ? theme.colors.textColor : 'unset') + ";";
|
|
69
70
|
}, function (_ref3) {
|
|
70
71
|
var theme = _ref3.theme;
|
|
71
|
-
return theme && theme.typography ? theme.typography.fontSize : 'unset';
|
|
72
|
-
}, function (_ref4) {
|
|
73
|
-
var theme = _ref4.theme;
|
|
74
|
-
return theme && theme.colors ? theme.colors.textColor : 'unset';
|
|
75
|
-
}, function (_ref5) {
|
|
76
|
-
var theme = _ref5.theme;
|
|
77
72
|
return theme && theme.typography ? theme.typography.fontFamily : 'unset';
|
|
78
73
|
});
|
|
79
74
|
|
|
@@ -90,7 +85,8 @@ var URLParamsProvider = {
|
|
|
90
85
|
headers: types.headers,
|
|
91
86
|
getSearchParams: types.func,
|
|
92
87
|
setSearchParams: types.func,
|
|
93
|
-
as: VueTypes.string.def('div')
|
|
88
|
+
as: VueTypes.string.def('div'),
|
|
89
|
+
userThemeProp: VueTypes.oneOf([VueTypes.bool, VueTypes.object.def({})])
|
|
94
90
|
},
|
|
95
91
|
mounted: function mounted() {
|
|
96
92
|
var _this = this;
|
|
@@ -118,7 +114,6 @@ var URLParamsProvider = {
|
|
|
118
114
|
_this.setValue(component, JSON.parse(value), label, showFilter, URLParams, undefined, undefined, undefined, 'URL');
|
|
119
115
|
} catch (e) {
|
|
120
116
|
// Do not set value if JSON parsing fails.
|
|
121
|
-
console.error(e);
|
|
122
117
|
}
|
|
123
118
|
});
|
|
124
119
|
};
|
|
@@ -271,7 +266,8 @@ var URLParamsProvider = {
|
|
|
271
266
|
var children = this.$slots["default"]();
|
|
272
267
|
return createVNode(Base$1, {
|
|
273
268
|
"as": this.$props.as,
|
|
274
|
-
"class": this.$props.className
|
|
269
|
+
"class": this.$props.className,
|
|
270
|
+
"userThemeProp": this.$props.userThemeProp
|
|
275
271
|
}, _isSlot$1(children) ? children : {
|
|
276
272
|
"default": function _default() {
|
|
277
273
|
return [children];
|
|
@@ -312,11 +308,11 @@ var light = {
|
|
|
312
308
|
var dark = {
|
|
313
309
|
typography: typography,
|
|
314
310
|
colors: {
|
|
315
|
-
textColor: '#
|
|
311
|
+
textColor: '#fff',
|
|
316
312
|
backgroundColor: '#212121',
|
|
317
|
-
primaryTextColor: '#
|
|
313
|
+
primaryTextColor: '#fff',
|
|
318
314
|
primaryColor: '#2196F3',
|
|
319
|
-
titleColor: '#
|
|
315
|
+
titleColor: '#fff',
|
|
320
316
|
alertColor: '#d9534f',
|
|
321
317
|
borderColor: '#666'
|
|
322
318
|
}
|
|
@@ -350,7 +346,7 @@ var ReactiveBase = {
|
|
|
350
346
|
credentials: types.string,
|
|
351
347
|
headers: types.headers,
|
|
352
348
|
queryParams: types.string,
|
|
353
|
-
theme: VueTypes.object.def({}),
|
|
349
|
+
theme: VueTypes.oneOf([VueTypes.bool, VueTypes.object.def({})]),
|
|
354
350
|
themePreset: VueTypes.string.def('light'),
|
|
355
351
|
type: types.string,
|
|
356
352
|
url: types.string,
|
|
@@ -366,7 +362,8 @@ var ReactiveBase = {
|
|
|
366
362
|
setSearchParams: types.func,
|
|
367
363
|
mongodb: types.mongodb,
|
|
368
364
|
endpoint: types.endpointConfig,
|
|
369
|
-
preferences: VueTypes.object
|
|
365
|
+
preferences: VueTypes.object,
|
|
366
|
+
httpRequestTimeout: VueTypes.number.def(30)
|
|
370
367
|
},
|
|
371
368
|
provide: function provide() {
|
|
372
369
|
var createCacheFn = createCache;
|
|
@@ -410,6 +407,9 @@ var ReactiveBase = {
|
|
|
410
407
|
},
|
|
411
408
|
mongodb: function mongodb() {
|
|
412
409
|
this.updateState(this.$props);
|
|
410
|
+
},
|
|
411
|
+
httpRequestTimeout: function httpRequestTimeout() {
|
|
412
|
+
this.updateState(this.$props);
|
|
413
413
|
}
|
|
414
414
|
},
|
|
415
415
|
computed: {
|
|
@@ -455,7 +455,8 @@ var ReactiveBase = {
|
|
|
455
455
|
analytics: props.reactivesearchAPIConfig ? props.reactivesearchAPIConfig.recordAnalytics : props.analytics,
|
|
456
456
|
analyticsConfig: props.reactivesearchAPIConfig,
|
|
457
457
|
mongodb: props.mongodb,
|
|
458
|
-
endpoint: props.endpoint
|
|
458
|
+
endpoint: props.endpoint,
|
|
459
|
+
httpRequestTimeout: (props.httpRequestTimeout || 0) * 1000 || 30000
|
|
459
460
|
};
|
|
460
461
|
var queryParams = '';
|
|
461
462
|
if (typeof window !== 'undefined') {
|
|
@@ -566,7 +567,8 @@ var ReactiveBase = {
|
|
|
566
567
|
"style": style,
|
|
567
568
|
"className": className,
|
|
568
569
|
"getSearchParams": _this.getSearchParams,
|
|
569
|
-
"setSearchParams": _this.setSearchParams
|
|
570
|
+
"setSearchParams": _this.setSearchParams,
|
|
571
|
+
"userThemeProp": _this.$props.theme
|
|
570
572
|
}, _isSlot$2(_slot = children()) ? _slot : {
|
|
571
573
|
"default": function _default() {
|
|
572
574
|
return [_slot];
|
|
@@ -3,12 +3,12 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
|
3
3
|
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
4
4
|
import { createVNode, h } from 'vue';
|
|
5
5
|
import VueTypes from 'vue-types';
|
|
6
|
-
import { t as types } from './vueTypes-
|
|
6
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
7
7
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
8
8
|
import 'redux';
|
|
9
|
-
import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, c as connect } from './index-
|
|
10
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
11
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
9
|
+
import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, c as connect } from './index-104f1dfb.js';
|
|
10
|
+
import { C as ComponentWrapper } from './ComponentWrapper-e91c9d43.js';
|
|
11
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
12
12
|
|
|
13
13
|
var _excluded = ["options"];
|
|
14
14
|
var updateQuery = Actions.updateQuery,
|
|
@@ -4,18 +4,17 @@ import _transformOn from '@vue/babel-helper-vue-transform-on';
|
|
|
4
4
|
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey, d as _inheritsLoose, _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
5
5
|
import { createVNode, mergeProps } from 'vue';
|
|
6
6
|
import VueTypes from 'vue-types';
|
|
7
|
-
import '@appbaseio/reactivecore/lib/utils/helper';
|
|
8
7
|
import { styled } from '@appbaseio/vue-emotion';
|
|
9
8
|
import { css } from '@emotion/css';
|
|
10
9
|
import 'polished';
|
|
11
|
-
import './Button-
|
|
12
|
-
import { t as types } from './vueTypes-
|
|
13
|
-
import { P as Pagination } from './Pagination-
|
|
10
|
+
import './Button-fd869491.js';
|
|
11
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
12
|
+
import { P as Pagination } from './Pagination-c2745bec.js';
|
|
14
13
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
15
14
|
import 'redux';
|
|
16
|
-
import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, a as isFunction, c as connect } from './index-
|
|
17
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
18
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
15
|
+
import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, a as isFunction, c as connect } from './index-104f1dfb.js';
|
|
16
|
+
import { C as ComponentWrapper } from './ComponentWrapper-e91c9d43.js';
|
|
17
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
19
18
|
import { C as Checkbox } from './FormControlList-fe6eaee4.js';
|
|
20
19
|
import VueGoogleMaps, { InfoWindow, MapElementMixin, Marker, GMapCluster, Map } from 'vue-google-maps-community-fork';
|
|
21
20
|
import geohash from 'ngeohash';
|
package/dist/es/ReactiveList.js
CHANGED
|
@@ -8,14 +8,14 @@ import { withClickIds } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
|
8
8
|
import { styled } from '@appbaseio/vue-emotion';
|
|
9
9
|
import { css } from '@emotion/css';
|
|
10
10
|
import 'polished';
|
|
11
|
-
import './Button-
|
|
12
|
-
import { t as types } from './vueTypes-
|
|
13
|
-
import { P as Pagination } from './Pagination-
|
|
11
|
+
import './Button-fd869491.js';
|
|
12
|
+
import { t as types } from './vueTypes-f1923c72.js';
|
|
13
|
+
import { P as Pagination } from './Pagination-c2745bec.js';
|
|
14
14
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
15
15
|
import 'redux';
|
|
16
|
-
import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-
|
|
17
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
18
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
16
|
+
import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-104f1dfb.js';
|
|
17
|
+
import { C as ComponentWrapper } from './ComponentWrapper-e91c9d43.js';
|
|
18
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
19
19
|
import './Title-863dfa42.js';
|
|
20
20
|
import { c as container } from './ListItem-e3c6acf4.js';
|
|
21
21
|
import { c as container$1 } from './Card-54b9e7a0.js';
|