@appbaseio/reactivesearch-vue 3.1.0-rc.1 → 3.3.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 +44252 -23301
- 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-d4da7470.js → Button-f96a0570.js} +14 -7
- package/dist/cjs/{ComponentWrapper-b5c78446.js → ComponentWrapper-0334c14b.js} +3 -0
- package/dist/cjs/{DropDown-ec31bd3f.js → DropDown-ebe20e81.js} +18 -7
- package/dist/cjs/DynamicRangeSlider.js +11 -5
- package/dist/cjs/Input-cee51a53.js +97 -0
- package/dist/cjs/MultiDropdownList.js +7 -5
- package/dist/cjs/MultiList.js +4 -3
- package/dist/cjs/MultiRange.js +3 -2
- package/dist/cjs/{Pagination-b953a80a.js → Pagination-c53a18ab.js} +2 -2
- package/dist/cjs/RangeInput.js +7 -3
- package/dist/cjs/RangeSlider.js +7 -3
- package/dist/cjs/ReactiveBase.js +4 -4
- package/dist/cjs/ReactiveComponent.js +3 -2
- package/dist/cjs/ReactiveGoogleMap.js +8 -4
- package/dist/cjs/ReactiveList.js +10 -4
- package/dist/cjs/ResultCard.js +1 -1
- package/dist/cjs/ResultList.js +1 -1
- package/dist/cjs/SelectedFilters.js +3 -2
- package/dist/cjs/SingleDropdownList.js +7 -5
- package/dist/cjs/SingleList.js +4 -3
- package/dist/cjs/SingleRange.js +3 -2
- package/dist/cjs/ToggleButton.js +5 -3
- package/dist/cjs/index.js +14 -7
- package/dist/cjs/{install-fd2155c7.js → install-c61d8b86.js} +2062 -229
- package/dist/cjs/install.js +13 -7
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-1bf00978.js → vueTypes-289a891a.js} +19 -0
- package/dist/components/ReactiveBase/ReactiveBase.d.ts +33 -0
- package/dist/components/basic/ReactiveComponent.d.ts +30 -0
- package/dist/components/basic/ReactiveComponentPrivate.d.ts +10 -0
- package/dist/components/basic/SelectedFilters.d.ts +24 -0
- package/dist/components/basic/StateProvider.d.ts +12 -0
- package/dist/components/list/MultiDropdownList.d.ts +49 -0
- package/dist/components/list/MultiList.d.ts +47 -0
- package/dist/components/list/SingleDropdownList.d.ts +47 -0
- package/dist/components/list/SingleList.d.ts +47 -0
- package/dist/components/list/ToggleButton.d.ts +33 -0
- package/dist/components/list/TreeList.d.ts +48 -0
- package/dist/components/range/DynamicRangeSlider.d.ts +38 -0
- package/dist/components/range/MultiRange.d.ts +30 -0
- package/dist/components/range/RangeInput.d.ts +30 -0
- package/dist/components/range/RangeSlider.d.ts +40 -0
- package/dist/components/range/SingleRange.d.ts +28 -0
- package/dist/components/result/ReactiveList.d.ts +55 -0
- package/dist/components/result/ResultCard.d.ts +10 -0
- package/dist/components/result/ResultList.d.ts +11 -0
- package/dist/components/search/AIAnswer.d.ts +44 -0
- package/dist/components/search/SearchBox.d.ts +111 -0
- package/dist/es/{Button-fd869491.js → Button-5c2cf399.js} +14 -7
- package/dist/es/{ComponentWrapper-e91c9d43.js → ComponentWrapper-46d04344.js} +3 -0
- package/dist/es/{DropDown-74c20431.js → DropDown-36fa9ac5.js} +18 -8
- package/dist/es/DynamicRangeSlider.js +12 -6
- package/dist/es/Input-437ae439.js +89 -0
- package/dist/es/MultiDropdownList.js +7 -5
- package/dist/es/MultiList.js +4 -3
- package/dist/es/MultiRange.js +3 -2
- package/dist/es/{Pagination-c2745bec.js → Pagination-591fdb79.js} +2 -2
- package/dist/es/RangeInput.js +7 -3
- package/dist/es/RangeSlider.js +8 -4
- package/dist/es/ReactiveBase.js +4 -4
- package/dist/es/ReactiveComponent.js +3 -2
- package/dist/es/ReactiveGoogleMap.js +8 -4
- package/dist/es/ReactiveList.js +10 -4
- package/dist/es/ResultCard.js +1 -1
- package/dist/es/ResultList.js +1 -1
- package/dist/es/SelectedFilters.js +3 -2
- package/dist/es/SingleDropdownList.js +7 -5
- package/dist/es/SingleList.js +4 -3
- package/dist/es/SingleRange.js +3 -2
- package/dist/es/ToggleButton.js +5 -3
- package/dist/es/index.js +14 -8
- package/dist/es/{install-db7d6387.js → install-4fe6038c.js} +2067 -235
- package/dist/es/install.js +13 -7
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-f1923c72.js → vueTypes-f503e267.js} +19 -0
- package/dist/index.d.ts +40 -0
- package/dist/types.ts +238 -0
- package/package.json +10 -7
- package/dist/cjs/Input-497be42a.js +0 -74
- package/dist/es/Input-f7499ef8.js +0 -69
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import type { CommonProps } from '../../index.d.ts';
|
|
3
|
+
import * as types from '../../types.ts';
|
|
4
|
+
|
|
5
|
+
interface ReactiveListProps extends CommonProps {
|
|
6
|
+
children?: (data: any) => any;
|
|
7
|
+
dataField: string;
|
|
8
|
+
aggregationField?: string;
|
|
9
|
+
aggregationSize?: number;
|
|
10
|
+
defaultQuery?: (...args: any[]) => any;
|
|
11
|
+
defaultSortOption?: string;
|
|
12
|
+
excludeFields?: Array<string>;
|
|
13
|
+
innerClass?: types.style;
|
|
14
|
+
infiniteScroll?: boolean;
|
|
15
|
+
includeFields?: Array<string>;
|
|
16
|
+
loader?: types.title;
|
|
17
|
+
render?: (data: any) => VNode[];
|
|
18
|
+
renderItem?: (data: any) => VNode[];
|
|
19
|
+
renderResultStats?: (...args: any[]) => any;
|
|
20
|
+
renderPagination?: (data: any) => any;
|
|
21
|
+
renderError?: types.title;
|
|
22
|
+
onError?: (...args: any[]) => any;
|
|
23
|
+
onNoResults?: types.title;
|
|
24
|
+
pages?: number;
|
|
25
|
+
pagination?: boolean;
|
|
26
|
+
paginationAt?: types.paginationAt;
|
|
27
|
+
showEndPage?: boolean;
|
|
28
|
+
react?: types.react;
|
|
29
|
+
showResultStats?: boolean;
|
|
30
|
+
showLoader?: boolean;
|
|
31
|
+
size?: number;
|
|
32
|
+
sortBy?: types.sortBy;
|
|
33
|
+
sortOptions?: types.sortOption[];
|
|
34
|
+
onPageChange?: (...args: any[]) => any;
|
|
35
|
+
onPageClick?: (...args: any[]) => any;
|
|
36
|
+
defaultPage?: number;
|
|
37
|
+
listClass?: string;
|
|
38
|
+
scrollTarget?: string | Element | HTMLDocument;
|
|
39
|
+
onData?: (...args: any[]) => any;
|
|
40
|
+
renderNoResults?: types.title;
|
|
41
|
+
scrollOnChange?: boolean;
|
|
42
|
+
distinctField?: string;
|
|
43
|
+
distinctFieldConfig?: object;
|
|
44
|
+
index?: string;
|
|
45
|
+
preferencesPath?: string;
|
|
46
|
+
showExport?: boolean;
|
|
47
|
+
renderExport?: (paramObj?: object) => any;
|
|
48
|
+
endpoint?: types.endpointConfig;
|
|
49
|
+
highlight?: boolean;
|
|
50
|
+
highlightConfig?: Object;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
declare function ReactiveList(props: ReactiveListProps): JSX.Element;
|
|
54
|
+
|
|
55
|
+
export default ReactiveList;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* eslint-disable no-undef */
|
|
2
|
+
import { VNode } from 'vue';
|
|
3
|
+
import type { CommonProps } from '../..';
|
|
4
|
+
import * as types from '../../types.ts';
|
|
5
|
+
|
|
6
|
+
export interface AIAnswerProps extends CommonProps {
|
|
7
|
+
showVoiceInput?: boolean;
|
|
8
|
+
showFeedback?: boolean;
|
|
9
|
+
showIcon?: boolean;
|
|
10
|
+
onData?: (...args: any[]) => any;
|
|
11
|
+
react?: types.react;
|
|
12
|
+
enableAI?: boolean;
|
|
13
|
+
AIConfig?: types.AIConfig;
|
|
14
|
+
icon?: types.children;
|
|
15
|
+
iconURL?: string;
|
|
16
|
+
iconPosition?: types.iconPosition;
|
|
17
|
+
theme?: types.style;
|
|
18
|
+
themePreset?: types.themePreset;
|
|
19
|
+
renderMic?: (...args: any[]) => any;
|
|
20
|
+
getMicInstance?: (...args: any[]) => any;
|
|
21
|
+
innerClass?: types.style;
|
|
22
|
+
title?: types.title;
|
|
23
|
+
AIResponse?: types.style;
|
|
24
|
+
isAIResponseLoading?: boolean;
|
|
25
|
+
AIResponseError?: types.style;
|
|
26
|
+
enterButton?: boolean;
|
|
27
|
+
renderEnterButton?: (onClick: any) => types.children;
|
|
28
|
+
showInput?: boolean;
|
|
29
|
+
clearSessionOnDestroy?: boolean;
|
|
30
|
+
render?: (data: object) => VNode[];
|
|
31
|
+
onError?: (...args: any[]) => any;
|
|
32
|
+
renderError?: (data: object) => VNode[];
|
|
33
|
+
isLoading?: boolean;
|
|
34
|
+
style?: types.style;
|
|
35
|
+
showSourceDocuments?: boolean;
|
|
36
|
+
triggerOn?: 'manual' | 'question';
|
|
37
|
+
renderTriggerMessage?: types.children | string;
|
|
38
|
+
renderSourceDocument?: (obj: any) => types.children;
|
|
39
|
+
onSourceClick?: (sourceObject: object) => void;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare function AIAnswer(props: AIAnswerProps): JSX.Element;
|
|
43
|
+
|
|
44
|
+
export default AIAnswer;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import type { CommonProps } from '../..';
|
|
3
|
+
import * as types from '../../types.ts';
|
|
4
|
+
|
|
5
|
+
export interface SearchBoxProps extends CommonProps {
|
|
6
|
+
autoFocus?: boolean;
|
|
7
|
+
autosuggest?: boolean;
|
|
8
|
+
beforeValueChange?: (...args: any[]) => any;
|
|
9
|
+
children?: (data: any) => any;
|
|
10
|
+
customHighlight?: (...args: any[]) => any;
|
|
11
|
+
highlightConfig?: Object;
|
|
12
|
+
customQuery?: (...args: any[]) => any;
|
|
13
|
+
defaultQuery?: (...args: any[]) => any;
|
|
14
|
+
excludeFields?: Array<string>;
|
|
15
|
+
getMicInstance?: (...args: any[]) => any;
|
|
16
|
+
renderMic?: (...args: any[]) => any;
|
|
17
|
+
dataField?: types.dataFieldArray;
|
|
18
|
+
enableSynonyms?: boolean;
|
|
19
|
+
queryString?: boolean;
|
|
20
|
+
enablePopularSuggestions?: boolean;
|
|
21
|
+
enableRecentSuggestions?: boolean;
|
|
22
|
+
aggregationField?: string;
|
|
23
|
+
aggregationSize?: number;
|
|
24
|
+
size?: number;
|
|
25
|
+
debounce?: number;
|
|
26
|
+
defaultValue?: types.date;
|
|
27
|
+
value?: types.date;
|
|
28
|
+
defaultSuggestions?: types.suggestions;
|
|
29
|
+
downShiftProps?: types.props;
|
|
30
|
+
fieldWeights?: types.fieldWeights;
|
|
31
|
+
filterLabel?: string;
|
|
32
|
+
fuzziness?: types.fuzziness;
|
|
33
|
+
highlight?: boolean;
|
|
34
|
+
highlightField?: types.stringOrArray;
|
|
35
|
+
icon?: types.children;
|
|
36
|
+
iconURL?: string;
|
|
37
|
+
iconPosition?: types.iconPosition;
|
|
38
|
+
includeFields?: Array<string>;
|
|
39
|
+
innerClass?: types.style;
|
|
40
|
+
nestedField?: string;
|
|
41
|
+
onBlur?: (...args: any[]) => any;
|
|
42
|
+
onError?: (...args: any[]) => any;
|
|
43
|
+
onFocus?: (...args: any[]) => any;
|
|
44
|
+
onKeyDown?: (...args: any[]) => any;
|
|
45
|
+
onKeyPress?: (...args: any[]) => any;
|
|
46
|
+
onKeyUp?: (...args: any[]) => any;
|
|
47
|
+
onData?: (...args: any[]) => any;
|
|
48
|
+
onValueChange?: (...args: any[]) => any;
|
|
49
|
+
onChange?: (...args: any[]) => any;
|
|
50
|
+
onValueSelected?: (...args: any[]) => any;
|
|
51
|
+
placeholder?: string;
|
|
52
|
+
queryFormat?: types.queryFormatSearch;
|
|
53
|
+
react?: types.react;
|
|
54
|
+
render?: (data: object) => VNode[];
|
|
55
|
+
renderNoSuggestion?: types.title;
|
|
56
|
+
renderError?: types.title;
|
|
57
|
+
showFilter?: boolean;
|
|
58
|
+
showIcon?: boolean;
|
|
59
|
+
title?: types.title;
|
|
60
|
+
theme?: types.style;
|
|
61
|
+
type?: string;
|
|
62
|
+
themePreset?: types.themePreset;
|
|
63
|
+
clearIcon?: types.children;
|
|
64
|
+
showClear?: boolean;
|
|
65
|
+
strictSelection?: boolean;
|
|
66
|
+
searchOperators?: boolean;
|
|
67
|
+
showVoiceSearch?: boolean;
|
|
68
|
+
showDistinctSuggestions?: boolean;
|
|
69
|
+
enablePredictiveSuggestions?: boolean;
|
|
70
|
+
distinctField?: string;
|
|
71
|
+
distinctFieldConfig?: object;
|
|
72
|
+
focusShortcuts?: types.focusShortcuts;
|
|
73
|
+
showFocusShortcutsIcon?: boolean;
|
|
74
|
+
addonBefore?: types.children;
|
|
75
|
+
addonAfter?: types.children;
|
|
76
|
+
expandSuggestionsContainer?: boolean;
|
|
77
|
+
index?: string;
|
|
78
|
+
preferencesPath?: string;
|
|
79
|
+
popularSuggestionsConfig?: types.popularSuggestionsConfig;
|
|
80
|
+
recentSuggestionsConfig?: types.recentSuggestionsConfig;
|
|
81
|
+
indexSuggestionsConfig?: types.indexSuggestionsConfig;
|
|
82
|
+
featuredSuggestionsConfig?: types.featuredSuggestionsConfig;
|
|
83
|
+
enableIndexSuggestions?: boolean;
|
|
84
|
+
enableFeaturedSuggestions?: boolean;
|
|
85
|
+
enableFAQSuggestions?: boolean;
|
|
86
|
+
FAQSuggestionsConfig?: types.FAQSuggestionsConfig,
|
|
87
|
+
enableDocumentSuggestions?: boolean;
|
|
88
|
+
documentSuggestionsConfig?: types.documentSuggestionsConfig;
|
|
89
|
+
showSuggestionsFooter?: boolean;
|
|
90
|
+
renderSuggestionsFooter?: () => types.children;
|
|
91
|
+
applyStopwords?: boolean;
|
|
92
|
+
customStopwords?: string[];
|
|
93
|
+
enterButton?: boolean;
|
|
94
|
+
renderEnterButton?: (onClick: any) => types.children;
|
|
95
|
+
searchboxId?: string;
|
|
96
|
+
endpoint?: types.endpointConfig;
|
|
97
|
+
mode?: string;
|
|
98
|
+
renderSelectedTags?: (paramObject: {
|
|
99
|
+
values: Array<string>;
|
|
100
|
+
handleClear: (val: string) => void;
|
|
101
|
+
handleClearAll: () => void;
|
|
102
|
+
}) => any;
|
|
103
|
+
enableAI?: boolean;
|
|
104
|
+
AIConfig?: types.AIConfig;
|
|
105
|
+
AIUIConfig?: types.AIUIConfig;
|
|
106
|
+
renderAIAnswer?: (data: any) => types.children | string | any;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
declare function SearchBox(props: SearchBoxProps): JSX.Element;
|
|
110
|
+
|
|
111
|
+
export default SearchBox;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
2
|
+
import { hexToRGBA } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
2
3
|
import { styled } from '@appbaseio/vue-emotion';
|
|
3
4
|
import { css } from '@emotion/css';
|
|
4
5
|
import { darken, rgba, lighten } from 'polished';
|
|
@@ -22,27 +23,33 @@ var disabled = function disabled(_ref3) {
|
|
|
22
23
|
var theme = _ref3.theme;
|
|
23
24
|
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";
|
|
24
25
|
};
|
|
25
|
-
var
|
|
26
|
+
var info = function info(_ref4) {
|
|
26
27
|
var theme = _ref4.theme;
|
|
27
|
-
return theme.colors
|
|
28
|
-
}
|
|
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) {
|
|
29
31
|
var theme = _ref5.theme;
|
|
30
|
-
return theme.colors ? theme.colors.
|
|
32
|
+
return theme.colors ? theme.colors.backgroundColor : '#eee';
|
|
31
33
|
}, function (_ref6) {
|
|
32
34
|
var theme = _ref6.theme;
|
|
33
|
-
return theme.colors
|
|
35
|
+
return theme.colors ? theme.colors.textColor : '';
|
|
34
36
|
}, function (_ref7) {
|
|
35
37
|
var theme = _ref7.theme;
|
|
36
|
-
return theme.colors && theme.colors.
|
|
38
|
+
return theme.colors && theme.colors.backgroundColor ? darken(0.1, theme.colors.backgroundColor) : '#ccc';
|
|
37
39
|
}, function (_ref8) {
|
|
38
40
|
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;
|
|
39
44
|
return theme.colors && theme.colors.primaryColor ? "0 0 0 2px " + rgba(theme.colors.primaryColor, 0.3) : '';
|
|
40
45
|
}, function (props) {
|
|
41
|
-
return props.
|
|
46
|
+
return props.info ? info : null;
|
|
42
47
|
}, function (props) {
|
|
43
48
|
return props.disabled ? disabled : null;
|
|
44
49
|
}, function (props) {
|
|
45
50
|
return props.large && large;
|
|
51
|
+
}, function (props) {
|
|
52
|
+
return props.primary ? primary : null;
|
|
46
53
|
});
|
|
47
54
|
var loadMoreContainer = css({
|
|
48
55
|
margin: '5px 0',
|
|
@@ -49,6 +49,9 @@ 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
|
+
}
|
|
52
55
|
this.componentProps = parsedProps;
|
|
53
56
|
this.componentId = this.componentProps.componentId;
|
|
54
57
|
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-
|
|
7
|
+
import { t as types } from './vueTypes-f503e267.js';
|
|
8
8
|
import { a as isFunction } from './index-104f1dfb.js';
|
|
9
|
-
import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-
|
|
9
|
+
import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-437ae439.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\tflex: 1;\n\tposition: relative;\n\theight: 42px;\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"])), function (_ref) {
|
|
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\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,9 +23,12 @@ 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" : '';
|
|
26
29
|
});
|
|
27
30
|
|
|
28
|
-
var _templateObject$2;
|
|
31
|
+
var _templateObject$2, _templateObject2;
|
|
29
32
|
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) {
|
|
30
33
|
var _ref$theme = _ref.theme,
|
|
31
34
|
theme = _ref$theme === void 0 ? {} : _ref$theme;
|
|
@@ -35,6 +38,13 @@ var IconWrapper = styled('div')(_templateObject$2 || (_templateObject$2 = _tagge
|
|
|
35
38
|
theme = _ref2$theme === void 0 ? {} : _ref2$theme;
|
|
36
39
|
return theme.colors ? theme.colors.borderColor : '#000';
|
|
37
40
|
});
|
|
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
|
+
});
|
|
38
48
|
|
|
39
49
|
/**
|
|
40
50
|
* Scroll node into view if necessary
|
|
@@ -405,7 +415,7 @@ var CancelSvg = (function () {
|
|
|
405
415
|
}, null)]);
|
|
406
416
|
});
|
|
407
417
|
|
|
408
|
-
var _templateObject$3, _templateObject2;
|
|
418
|
+
var _templateObject$3, _templateObject2$1;
|
|
409
419
|
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";
|
|
410
420
|
var dark = function dark(_ref) {
|
|
411
421
|
var theme = _ref.theme;
|
|
@@ -417,7 +427,7 @@ var Select = styled('button')(_templateObject$3 || (_templateObject$3 = _taggedT
|
|
|
417
427
|
var themePreset = _ref2.themePreset;
|
|
418
428
|
return themePreset === 'dark' && dark;
|
|
419
429
|
});
|
|
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) {
|
|
430
|
+
var Tick = styled('span')(_templateObject2$1 || (_templateObject2$1 = _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) {
|
|
421
431
|
var theme = _ref3.theme;
|
|
422
432
|
return theme.colors.primaryColor;
|
|
423
433
|
});
|
|
@@ -687,4 +697,4 @@ var Dropdown = {
|
|
|
687
697
|
}
|
|
688
698
|
};
|
|
689
699
|
|
|
690
|
-
export { CancelSvg as C, Downshift as D, IconWrapper as I, IconGroup as a, InputWrapper as b, Dropdown as c };
|
|
700
|
+
export { ButtonIconWrapper as B, CancelSvg as C, Downshift as D, IconWrapper as I, IconGroup as a, InputWrapper as b, Dropdown as c };
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
2
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
3
3
|
import './_rollupPluginBabelHelpers-ded08042.js';
|
|
4
|
-
import { createVNode,
|
|
4
|
+
import { createVNode, 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-f503e267.js';
|
|
8
8
|
import 'redux';
|
|
9
9
|
import { j as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical, c as connect } from './index-104f1dfb.js';
|
|
10
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
|
+
import VueSlider from 'vue-slider-component/dist-css/vue-slider-component.umd.min.js';
|
|
14
|
+
import 'vue-slider-component/dist-css/vue-slider-component.css';
|
|
15
|
+
import 'vue-slider-component/theme/default.css';
|
|
13
16
|
import { g as getComponents, N as NoSSR, S as Slider } from './ssr-c630ccb9.js';
|
|
14
17
|
|
|
15
18
|
var addComponent = Actions.addComponent,
|
|
@@ -35,6 +38,7 @@ var DynamicRangeSlider = {
|
|
|
35
38
|
className: VueTypes.string.def(''),
|
|
36
39
|
rangeLabels: types.func,
|
|
37
40
|
componentId: types.stringRequired,
|
|
41
|
+
compoundClause: types.compoundClause,
|
|
38
42
|
customQuery: types.func,
|
|
39
43
|
data: types.data,
|
|
40
44
|
dataField: types.stringRequired,
|
|
@@ -295,7 +299,7 @@ var DynamicRangeSlider = {
|
|
|
295
299
|
},
|
|
296
300
|
render: function render() {
|
|
297
301
|
var _this4 = this;
|
|
298
|
-
if (!this.range || !this.currentValue) {
|
|
302
|
+
if (!this.range || !this.currentValue || this.range.start === null || this.range.end === null || this.range.start === this.range.end) {
|
|
299
303
|
return null;
|
|
300
304
|
}
|
|
301
305
|
var _this$range = this.range,
|
|
@@ -317,16 +321,18 @@ var DynamicRangeSlider = {
|
|
|
317
321
|
"class": getClassName(_this4.$props.innerClass, 'slider')
|
|
318
322
|
}, {
|
|
319
323
|
"default": function _default() {
|
|
320
|
-
return [createVNode(
|
|
324
|
+
return [createVNode(VueSlider, mergeProps({
|
|
321
325
|
"ref": "slider",
|
|
322
326
|
"modelValue": [Math.floor(Math.max(start, _this4.currentValue[0])), Math.ceil(Math.min(end, _this4.currentValue[1]))],
|
|
323
327
|
"min": Math.floor(Math.min(start, _this4.currentValue[0])),
|
|
324
328
|
"max": Math.ceil(Math.max(end, _this4.currentValue[1])),
|
|
325
|
-
"
|
|
329
|
+
"onChange": _this4.handleSlider,
|
|
330
|
+
"lazy": true,
|
|
326
331
|
"dotSize": 20,
|
|
327
332
|
"height": 4,
|
|
328
333
|
"enable-cross": false,
|
|
329
|
-
"tooltip": "always"
|
|
334
|
+
"tooltip": "always",
|
|
335
|
+
"useKeyboard": false
|
|
330
336
|
}, _this4.$props.sliderOptions), null), _this4.labels ? createVNode("div", {
|
|
331
337
|
"class": "label-container"
|
|
332
338
|
}, [createVNode("label", {
|
|
@@ -0,0 +1,89 @@
|
|
|
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, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
|
|
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 = function input(searchBox) {
|
|
11
|
+
return "\nwidth: 100%;\nline-height: 1.5;\nmin-height: 42px;\npadding: 8px 12px;\nborder: 1px solid #ccc;\nbackground-color: #fafafa;\nfont-size: 0.9rem;\noutline: none;\n&:focus {\n\tbackground-color: #fff;\n}\n" + (searchBox && "\n\tpadding: 8px 12px 9px;\n\tborder: 1px solid transparent;\n\tborder-radius: 6px;\n\tmin-height: unset;\n") + ";\n";
|
|
12
|
+
};
|
|
13
|
+
var dark = function dark(theme) {
|
|
14
|
+
return "\n\tborder-color: " + theme.colors.borderColor + ";\n";
|
|
15
|
+
};
|
|
16
|
+
var darkInput = function darkInput(_ref2) {
|
|
17
|
+
var theme = _ref2.theme;
|
|
18
|
+
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";
|
|
19
|
+
};
|
|
20
|
+
var Input = styled('input')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\t", ";\n\t", ";\n\n\t", ";\n\n\t", ";\n\n\t", ";\n\t", ";\n\t", ";\n\t", ";\n\t", ";\n\t", ";\n\n\t", ";\n\n\t", ";\n\n\t&[type='search']::-webkit-search-decoration,\n\t&[type='search']::-webkit-search-cancel-button,\n\t&[type='search']::-webkit-search-results-button,\n\t&[type='search']::-webkit-search-results-decoration {\n\t\tdisplay: none;\n\t}\n"])), function (props) {
|
|
21
|
+
return input(props.searchBox);
|
|
22
|
+
}, function (_ref3) {
|
|
23
|
+
var themePreset = _ref3.themePreset;
|
|
24
|
+
return themePreset === 'dark' && darkInput;
|
|
25
|
+
}, function (props) {
|
|
26
|
+
return props.showIcon && props.iconPosition === 'left' && "\n\t\t\tpadding-left: 36px;\n\t\t";
|
|
27
|
+
}, function (props) {
|
|
28
|
+
return props.showIcon && props.iconPosition === 'right' && "\n\t\t\tpadding-right: 36px;\n\t\t";
|
|
29
|
+
}, function (props) {
|
|
30
|
+
return (
|
|
31
|
+
// for clear icon
|
|
32
|
+
props.showClear && "\n\t\t\tpadding-right: 36px;\n\t\t"
|
|
33
|
+
);
|
|
34
|
+
}, function (props) {
|
|
35
|
+
return (
|
|
36
|
+
// for voice search icon
|
|
37
|
+
props.showVoiceSearch && "\n\t\t\tpadding-right: 36px;\n\t\t"
|
|
38
|
+
);
|
|
39
|
+
}, function (props) {
|
|
40
|
+
return (
|
|
41
|
+
// for clear icon with search icon
|
|
42
|
+
props.showClear && props.showIcon && props.iconPosition === 'right' && "\n\t\t\tpadding-right: 66px;\n\t\t"
|
|
43
|
+
);
|
|
44
|
+
}, function (props) {
|
|
45
|
+
return (
|
|
46
|
+
// for voice search icon with clear icon
|
|
47
|
+
props.showVoiceSearch && props.showIcon && "\n\t\t\tpadding-right: 66px;\n\t\t"
|
|
48
|
+
);
|
|
49
|
+
}, function (props) {
|
|
50
|
+
return (
|
|
51
|
+
// for voice search icon with search icon
|
|
52
|
+
props.showVoiceSearch && props.showIcon && props.iconPosition === 'right' && "\n\t\t\tpadding-right: 66px;\n\t\t"
|
|
53
|
+
);
|
|
54
|
+
}, function (props) {
|
|
55
|
+
return (
|
|
56
|
+
// for clear icon with search icon and voice search
|
|
57
|
+
props.showClear && props.showIcon && props.showVoiceSearch && props.iconPosition === 'right' && "\n\t\t\tpadding-right: 90px;\n\t\t"
|
|
58
|
+
);
|
|
59
|
+
}, function (props) {
|
|
60
|
+
return props.alert && alertBorder;
|
|
61
|
+
}, function (props) {
|
|
62
|
+
return props.isOpen && "\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t";
|
|
63
|
+
});
|
|
64
|
+
var suggestions = function suggestions(themePreset, theme) {
|
|
65
|
+
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));
|
|
66
|
+
};
|
|
67
|
+
var searchboxSuggestions = function searchboxSuggestions(themePreset, theme) {
|
|
68
|
+
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n\t", ";\n\n\tmax-height: min(100vh, 401px);\n\tborder: none;\n\tborder-radius: 6px;\n\tborder-top-left-radius: 0;\n\tborder-top-right-radius: 0;\n\tbox-shadow: rgb(0 0 0 / 20%) 0px 10px 15px;\n\tborder-top: 1px solid #f2f0f0;\n\tli {\n\t\ttransition: all 0.3s ease-in;\n\t\tposition: relative;\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: unset;\n\t\t}\n\t\t.trim {\n\t\t\tline-height: 20px;\n\t\t}\n\t\t&.li-item {\n\t\t\tbackground-color: ", ";\n\n\t\t\t", "\n\t\t}\n\t\t&.active-li-item {\n\t\t\tbackground-color: ", ";\n\t\t\tcolor: #fff;\n\t\t\tsvg {\n\t\t\t\ttransition: fill 0.3s ease-in;\n\t\t\t\tfill: #fff !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t.section-container {\n\t\tpadding-bottom: 5px;\n\t\tborder-bottom: 1px solid #f2f0f0;\n\t\t", ";\n\t\t.section-header {\n\t\t\tpadding: 10px;\n\t\t\tfont-size: 12px;\n\t\t\tcolor: #7f7c7c;\n\t\t\tbackground: #f9f9f9;\n\t\t\t", ";\n\t\t}\n\n\t\t.section-list {\n\t\t\tpadding-left: 0;\n\t\t}\n\t\t.section-list-item {\n\t\t\t&__label,\n\t\t\t&__description {\n\t\t\t\toverflow: hidden;\n\t\t\t\ttext-overflow: ellipsis;\n\t\t\t\twhite-space: nowrap;\n\n\t\t\t\t* {\n\t\t\t\t\tmargin: 0;\n\t\t\t\t\tpadding: 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__label {\n\t\t\t}\n\t\t\t&__description {\n\t\t\t\tmargin-top: 5px;\n\t\t\t\topacity: 0.7;\n\t\t\t\tfont-size: 12px;\n\t\t\t}\n\t\t}\n\t}\n"])), suggestions(themePreset, theme), themePreset === 'dark' ? '#424242' : '#fff', themePreset && theme && "svg {\n\t\t\t\tfill: " + (theme.colors ? theme.colors.primaryColor : '#707070') + ";\n\t\t\t}", themePreset === 'dark' ? '#555' : '#2d84f6', themePreset === 'dark' && css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n\t\t\tbackground: #161616;\n\t\t"]))), themePreset === 'dark' && css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n\t\t\t\tcolor: #218fe7;\n\t\t\t\tbackground: #161616;\n\t\t\t"]))));
|
|
69
|
+
};
|
|
70
|
+
var suggestionsContainer = css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n\tposition: relative;\n\t.cancel-icon {\n\t\tcursor: pointer;\n\t}\n"])));
|
|
71
|
+
var noSuggestions = function noSuggestions(themePreset, theme) {
|
|
72
|
+
return css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n\tdisplay: block;\n\twidth: 100%;\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\tborder-radius: 6px;\n\tborder-top-left-radius: 0;\n\tborder-top-right-radius: 0;\n\tbox-shadow: rgb(0 0 0 / 20%) 0px 10px 15px;\n\tborder-top: 1px solid #f2f0f0;\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));
|
|
73
|
+
};
|
|
74
|
+
var TextArea = styled('textarea')(_templateObject8 || (_templateObject8 = _taggedTemplateLiteralLoose(["\n\t", ";\n\t", ";\n\n\t", ";\n\t", ";\n\t&::-webkit-search-decoration,\n\t&::-webkit-search-cancel-button,\n\t&::-webkit-search-results-button,\n\t&::-webkit-search-results-decoration {\n\t\tdisplay: none;\n\t}\n\tresize: none;\n\toverflow: hidden;\n\theight: 42px;\n\tpadding-left: 0;\n\tpadding-right: 0;\n\tborder-color: transparent;\n\n"])), function (props) {
|
|
75
|
+
return input(props.searchBox);
|
|
76
|
+
}, function (_ref4) {
|
|
77
|
+
var themePreset = _ref4.themePreset,
|
|
78
|
+
theme = _ref4.theme;
|
|
79
|
+
return themePreset === 'dark' && darkInput({
|
|
80
|
+
theme: theme
|
|
81
|
+
});
|
|
82
|
+
}, function (props) {
|
|
83
|
+
return props.alert && alertBorder;
|
|
84
|
+
}, function (props) {
|
|
85
|
+
return props.isOpen && "\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t";
|
|
86
|
+
});
|
|
87
|
+
var Actions = styled('div')(_templateObject9 || (_templateObject9 = _taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n"])));
|
|
88
|
+
|
|
89
|
+
export { Actions as A, Input as I, TextArea as T, suggestions as a, searchboxSuggestions as b, noSuggestions as n, suggestionsContainer as s };
|
|
@@ -4,19 +4,20 @@ 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';
|
|
7
8
|
import '@appbaseio/vue-emotion';
|
|
8
9
|
import '@emotion/css';
|
|
9
10
|
import 'polished';
|
|
10
|
-
import { l as loadMoreContainer, B as Button } from './Button-
|
|
11
|
-
import { t as types } from './vueTypes-
|
|
11
|
+
import { l as loadMoreContainer, B as Button } from './Button-5c2cf399.js';
|
|
12
|
+
import { t as types } from './vueTypes-f503e267.js';
|
|
12
13
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
13
14
|
import 'redux';
|
|
14
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-104f1dfb.js';
|
|
15
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
16
|
+
import { C as ComponentWrapper } from './ComponentWrapper-46d04344.js';
|
|
16
17
|
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
17
18
|
import { T as Title } from './Title-863dfa42.js';
|
|
18
|
-
import { c as Dropdown } from './DropDown-
|
|
19
|
-
import './Input-
|
|
19
|
+
import { c as Dropdown } from './DropDown-36fa9ac5.js';
|
|
20
|
+
import './Input-437ae439.js';
|
|
20
21
|
import 'compute-scroll-into-view';
|
|
21
22
|
import { C as Container } from './Container-d00219f7.js';
|
|
22
23
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
@@ -55,6 +56,7 @@ var MultiDropdownList = {
|
|
|
55
56
|
beforeValueChange: types.func,
|
|
56
57
|
className: VueTypes.string.def(''),
|
|
57
58
|
componentId: types.stringRequired,
|
|
59
|
+
compoundClause: types.compoundClause,
|
|
58
60
|
customQuery: types.func,
|
|
59
61
|
dataField: types.stringRequired,
|
|
60
62
|
defaultValue: types.stringArray,
|
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-f503e267.js';
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
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-
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-46d04344.js';
|
|
14
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-437ae439.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';
|
|
@@ -39,6 +39,7 @@ var MultiList = {
|
|
|
39
39
|
beforeValueChange: types.func,
|
|
40
40
|
className: VueTypes.string.def(''),
|
|
41
41
|
componentId: types.stringRequired,
|
|
42
|
+
compoundClause: types.compoundClause,
|
|
42
43
|
customQuery: types.func,
|
|
43
44
|
dataField: types.stringRequired,
|
|
44
45
|
defaultQuery: types.func,
|
package/dist/es/MultiRange.js
CHANGED
|
@@ -6,11 +6,11 @@ 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-f503e267.js';
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
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-
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-46d04344.js';
|
|
14
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';
|
|
@@ -41,6 +41,7 @@ var MultiRange = {
|
|
|
41
41
|
beforeValueChange: types.func,
|
|
42
42
|
className: VueTypes.string.def(''),
|
|
43
43
|
componentId: types.stringRequired,
|
|
44
|
+
compoundClause: types.compoundClause,
|
|
44
45
|
customQuery: types.func,
|
|
45
46
|
data: types.data,
|
|
46
47
|
dataField: types.stringRequired,
|
|
@@ -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-5c2cf399.js';
|
|
6
|
+
import { t as types } from './vueTypes-f503e267.js';
|
|
7
7
|
|
|
8
8
|
function _isSlot(s) {
|
|
9
9
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|