@appbaseio/reactivesearch-vue 3.0.0-rc.9 → 3.0.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 +4866 -701
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{ComponentWrapper-0b9ffb1a.js → ComponentWrapper-0334c14b.js} +1 -1
- package/dist/cjs/{DropDown-aef75c14.js → DropDown-26666911.js} +14 -6
- package/dist/cjs/DynamicRangeSlider.js +7 -4
- package/dist/cjs/{Input-56eba499.js → Input-3ecdb905.js} +27 -74
- package/dist/cjs/MultiDropdownList.js +7 -6
- package/dist/cjs/MultiList.js +6 -5
- package/dist/cjs/MultiRange.js +5 -4
- package/dist/cjs/{Pagination-bcf8af5f.js → Pagination-c53a18ab.js} +1 -1
- package/dist/cjs/{PreferencesConsumer-85dee673.js → PreferencesConsumer-7bee3c57.js} +1 -1
- package/dist/cjs/RangeInput.js +8 -5
- package/dist/cjs/RangeSlider.js +8 -5
- package/dist/cjs/ReactiveBase.js +20 -18
- package/dist/cjs/ReactiveComponent.js +5 -4
- package/dist/cjs/ReactiveGoogleMap.js +8 -5
- package/dist/cjs/ReactiveList.js +6 -5
- package/dist/cjs/ResultCard.js +1 -1
- package/dist/cjs/ResultList.js +1 -1
- package/dist/cjs/SelectedFilters.js +2 -2
- package/dist/cjs/SingleDropdownList.js +7 -6
- package/dist/cjs/SingleList.js +6 -5
- package/dist/cjs/SingleRange.js +5 -4
- package/dist/cjs/StateProvider.js +1 -1
- package/dist/cjs/ToggleButton.js +5 -4
- package/dist/cjs/{index-779ed366.js → index-1f41363f.js} +7 -3
- package/dist/cjs/index.js +11 -8
- package/dist/cjs/{install-e8141489.js → install-08b8d6e7.js} +814 -283
- package/dist/cjs/install.js +11 -8
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-a5f1745e.js → vueTypes-289a891a.js} +2 -1
- 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 +107 -0
- package/dist/es/{ComponentWrapper-a2635cfc.js → ComponentWrapper-46d04344.js} +1 -1
- package/dist/es/{DropDown-39fedff8.js → DropDown-48045fde.js} +14 -7
- package/dist/es/DynamicRangeSlider.js +8 -5
- package/dist/es/{Input-11d211d2.js → Input-83dee8c5.js} +26 -75
- package/dist/es/MultiDropdownList.js +7 -6
- package/dist/es/MultiList.js +6 -5
- package/dist/es/MultiRange.js +5 -4
- package/dist/es/{Pagination-50fc3ef5.js → Pagination-591fdb79.js} +1 -1
- package/dist/es/{PreferencesConsumer-b058d14e.js → PreferencesConsumer-0856ed43.js} +1 -1
- package/dist/es/RangeInput.js +8 -5
- package/dist/es/RangeSlider.js +9 -6
- package/dist/es/ReactiveBase.js +20 -18
- package/dist/es/ReactiveComponent.js +5 -4
- package/dist/es/ReactiveGoogleMap.js +8 -5
- package/dist/es/ReactiveList.js +6 -5
- package/dist/es/ResultCard.js +1 -1
- package/dist/es/ResultList.js +1 -1
- package/dist/es/SelectedFilters.js +2 -2
- package/dist/es/SingleDropdownList.js +7 -6
- package/dist/es/SingleList.js +6 -5
- package/dist/es/SingleRange.js +5 -4
- package/dist/es/StateProvider.js +1 -1
- package/dist/es/ToggleButton.js +5 -4
- package/dist/es/{index-882489e1.js → index-104f1dfb.js} +7 -3
- package/dist/es/index.js +12 -9
- package/dist/es/{install-b785dd55.js → install-e883f435.js} +816 -285
- package/dist/es/install.js +11 -8
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-09cab4d3.js → vueTypes-f503e267.js} +2 -1
- package/dist/index.d.ts +40 -0
- package/dist/types.ts +226 -0
- package/package.json +7 -4
package/dist/cjs/install.js
CHANGED
|
@@ -13,14 +13,14 @@ require('@appbaseio/vue-emotion');
|
|
|
13
13
|
require('@emotion/css');
|
|
14
14
|
require('polished');
|
|
15
15
|
require('./Button-f96a0570.js');
|
|
16
|
-
require('./vueTypes-
|
|
17
|
-
require('./Pagination-
|
|
16
|
+
require('./vueTypes-289a891a.js');
|
|
17
|
+
require('./Pagination-c53a18ab.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-0334c14b.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,10 +32,11 @@ require('@appbaseio/analytics');
|
|
|
32
32
|
require('url-search-params-polyfill');
|
|
33
33
|
require('./ReactiveBase.js');
|
|
34
34
|
require('hotkeys-js');
|
|
35
|
+
require('xss');
|
|
35
36
|
require('remarkable');
|
|
36
|
-
var install = require('./install-
|
|
37
|
-
require('./DropDown-
|
|
38
|
-
require('./Input-
|
|
37
|
+
var install = require('./install-08b8d6e7.js');
|
|
38
|
+
require('./DropDown-26666911.js');
|
|
39
|
+
require('./Input-3ecdb905.js');
|
|
39
40
|
require('compute-scroll-into-view');
|
|
40
41
|
require('./Container-29f049b2.js');
|
|
41
42
|
require('vue-highlight-words');
|
|
@@ -50,6 +51,8 @@ require('./SingleDropdownList.js');
|
|
|
50
51
|
require('./MultiDropdownList.js');
|
|
51
52
|
require('./ToggleButton.js');
|
|
52
53
|
require('./ReactiveComponent.js');
|
|
54
|
+
require('vue-slider-component');
|
|
55
|
+
require('vue-slider-component/theme/antd.css');
|
|
53
56
|
require('./ssr-8dd13d43.js');
|
|
54
57
|
require('./DynamicRangeSlider.js');
|
|
55
58
|
require('./SingleRange.js');
|
package/dist/cjs/version.js
CHANGED
|
@@ -38,6 +38,7 @@ var types = {
|
|
|
38
38
|
bool: VueTypes.bool,
|
|
39
39
|
boolRequired: VueTypes.bool.isRequired,
|
|
40
40
|
components: VueTypes.arrayOf(VueTypes.string),
|
|
41
|
+
compoundClause: VueTypes.oneOf(['filter', 'must']),
|
|
41
42
|
children: VueTypes.any,
|
|
42
43
|
data: VueTypes.arrayOf(VueTypes.object),
|
|
43
44
|
dataFieldArray: VueTypes.oneOfType([VueTypes.string, VueTypes.arrayOf(VueTypes.string)]).isRequired,
|
|
@@ -137,7 +138,7 @@ var types = {
|
|
|
137
138
|
loaderMessage: VueTypes.string,
|
|
138
139
|
// slot #loaderMessage should also be supported
|
|
139
140
|
showSourceDocuments: VueTypes.bool,
|
|
140
|
-
|
|
141
|
+
renderSourceDocument: VueTypes.func,
|
|
141
142
|
onSourceClick: VueTypes.func,
|
|
142
143
|
// renderAskButton: VueTypes.func,has to be a slot
|
|
143
144
|
askButton: VueTypes.bool,
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as types from '../../types.ts';
|
|
2
|
+
|
|
3
|
+
export interface ReactiveBaseProps {
|
|
4
|
+
app?: string;
|
|
5
|
+
children?: types.children;
|
|
6
|
+
credentials?: string;
|
|
7
|
+
as?: string;
|
|
8
|
+
headers?: types.headers;
|
|
9
|
+
queryParams?: string;
|
|
10
|
+
theme?: types.style;
|
|
11
|
+
themePreset?: types.themePreset;
|
|
12
|
+
type?: string;
|
|
13
|
+
url?: string;
|
|
14
|
+
mapKey?: string;
|
|
15
|
+
style?: types.style;
|
|
16
|
+
className?: string;
|
|
17
|
+
graphQLUrl?: string;
|
|
18
|
+
transformResponse?: (...args: any[]) => any;
|
|
19
|
+
transformRequest?: (...args: any[]) => any;
|
|
20
|
+
getSearchParams?: () => string;
|
|
21
|
+
setSearchParams?: (newURL: string) => void;
|
|
22
|
+
initialQueriesSyncTime?: number;
|
|
23
|
+
analyticsConfig?: types.analyticsConfig;
|
|
24
|
+
reactivesearchAPIConfig?: types.appbaseConfig;
|
|
25
|
+
initialState?: types.children;
|
|
26
|
+
analytics?: boolean;
|
|
27
|
+
endpoint?: types.endpointConfig;
|
|
28
|
+
contextCollector?: any;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare function ReactiveBase(props: ReactiveBaseProps): JSX.Element;
|
|
32
|
+
|
|
33
|
+
export default ReactiveBase;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as types from '../../types.ts';
|
|
2
|
+
|
|
3
|
+
export interface ReactiveComponentProps {
|
|
4
|
+
children?: (...args: any[]) => any;
|
|
5
|
+
render?: (...args: any[]) => any;
|
|
6
|
+
componentId: string;
|
|
7
|
+
aggregationField?: string;
|
|
8
|
+
aggregationSize?: number;
|
|
9
|
+
size?: number;
|
|
10
|
+
defaultQuery?: (...args: any[]) => any;
|
|
11
|
+
customQuery?: (...args: any[]) => any;
|
|
12
|
+
defaultValue?: any;
|
|
13
|
+
value?: any;
|
|
14
|
+
filterLabel?: string;
|
|
15
|
+
onData?: (...args: any[]) => any;
|
|
16
|
+
onError?: (...args: any[]) => any;
|
|
17
|
+
react?: types.react;
|
|
18
|
+
showFilter?: boolean;
|
|
19
|
+
onQueryChange?: (...args: any[]) => any;
|
|
20
|
+
URLParams?: boolean;
|
|
21
|
+
distinctField?: string;
|
|
22
|
+
distinctFieldConfig?: object;
|
|
23
|
+
index?: string;
|
|
24
|
+
preferencesPath?: string;
|
|
25
|
+
endpoint?: types.endpointConfig;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare function ReactiveComponent(props: ReactiveComponentProps): JSX.Element;
|
|
29
|
+
|
|
30
|
+
export default ReactiveComponent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
2
|
+
import {ReactiveComponentProps} from './ReactiveComponent'
|
|
3
|
+
|
|
4
|
+
interface ReactiveComponentPrivateProps extends ReactiveComponentProps{
|
|
5
|
+
componentType: typeof componentTypes[keyof typeof componentTypes];
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare function ReactiveComponentPrivate(props: ReactiveComponentPrivateProps): JSX.Element;
|
|
9
|
+
|
|
10
|
+
export default ReactiveComponentPrivate;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as types from '../../types.ts';
|
|
2
|
+
|
|
3
|
+
export interface SelectedFiltersProps {
|
|
4
|
+
clearValues?: (...args: any[]) => any;
|
|
5
|
+
setValue?: (...args: any[]) => any;
|
|
6
|
+
components?: types.components;
|
|
7
|
+
selectedValues?: types.selectedValues;
|
|
8
|
+
className?: string;
|
|
9
|
+
clearAllLabel?: types.title;
|
|
10
|
+
innerClass?: types.style;
|
|
11
|
+
showClearAll?: types.showClearAll;
|
|
12
|
+
style?: types.style;
|
|
13
|
+
theme?: types.style;
|
|
14
|
+
title?: types.title;
|
|
15
|
+
render?: (...args: any[]) => any;
|
|
16
|
+
onChange?: (...args: any[]) => any;
|
|
17
|
+
onClear?: (...args: any[]) => any;
|
|
18
|
+
resetToDefault?: types.resetToDefault;
|
|
19
|
+
resetToValues?: { [key: string]: any };
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare function SelectedFilters(props: SelectedFiltersProps): JSX.Element;
|
|
23
|
+
|
|
24
|
+
export default SelectedFilters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface StateProviderProps {
|
|
2
|
+
children?: (...args: any[]) => any;
|
|
3
|
+
render?: (...args: any[]) => any;
|
|
4
|
+
onChange?: (...args: any[]) => any;
|
|
5
|
+
componentIds?: string | Array<string>;
|
|
6
|
+
includeKeys?: Array<string>;
|
|
7
|
+
strict?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare function StateProvider(props: StateProviderProps): JSX.Element;
|
|
11
|
+
|
|
12
|
+
export default StateProvider;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { CommonProps } from '../../index';
|
|
2
|
+
import * as types from '../../types.ts';
|
|
3
|
+
|
|
4
|
+
export interface MultiDropdownListProps extends CommonProps {
|
|
5
|
+
beforeValueChange?: (...args: any[]) => any;
|
|
6
|
+
customQuery?: (...args: any[]) => any;
|
|
7
|
+
defaultQuery?: (...args: any[]) => any;
|
|
8
|
+
dataField: string;
|
|
9
|
+
defaultValue?: types.stringArray;
|
|
10
|
+
value?: types.stringArray;
|
|
11
|
+
filterLabel?: string;
|
|
12
|
+
innerClass?: types.style;
|
|
13
|
+
onValueChange?: (...args: any[]) => any;
|
|
14
|
+
onChange?: (...args: any[]) => any;
|
|
15
|
+
onError?: (...args: any[]) => any;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
searchPlaceholder?: string;
|
|
18
|
+
queryFormat?: types.queryFormatSearch;
|
|
19
|
+
react?: types.react;
|
|
20
|
+
render?: (...args: any[]) => any;
|
|
21
|
+
renderItem?: (...args: any[]) => any;
|
|
22
|
+
renderLabel?: (...args: any[]) => any;
|
|
23
|
+
renderError?: types.title;
|
|
24
|
+
transformData?: (...args: any[]) => any;
|
|
25
|
+
selectAllLabel?: string;
|
|
26
|
+
showCount?: boolean;
|
|
27
|
+
showFilter?: boolean;
|
|
28
|
+
size?: number;
|
|
29
|
+
aggregationSize?: number;
|
|
30
|
+
sortBy?: types.sortByWithCount;
|
|
31
|
+
themePreset?: types.themePreset;
|
|
32
|
+
title?: types.title;
|
|
33
|
+
showMissing?: boolean;
|
|
34
|
+
missingLabel?: string;
|
|
35
|
+
showLoadMore?: boolean;
|
|
36
|
+
loadMoreLabel?: types.title;
|
|
37
|
+
nestedField?: string;
|
|
38
|
+
children?: (...args: any[]) => any;
|
|
39
|
+
renderNoResults?: (...args: any[]) => any;
|
|
40
|
+
showSearch?: boolean;
|
|
41
|
+
index?: string;
|
|
42
|
+
preferencesPath?: string;
|
|
43
|
+
showClear?: boolean;
|
|
44
|
+
endpoint?: types.endpointConfig;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare function MultiDropdownList(props: MultiDropdownListProps): JSX.Element;
|
|
48
|
+
|
|
49
|
+
export default MultiDropdownList;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { CommonProps } from '../../index';
|
|
2
|
+
import * as types from '../../types.ts';
|
|
3
|
+
|
|
4
|
+
export interface MultiListProps extends CommonProps {
|
|
5
|
+
beforeValueChange?: (...args: any[]) => any;
|
|
6
|
+
customQuery?: (...args: any[]) => any;
|
|
7
|
+
defaultQuery?: (...args: any[]) => any;
|
|
8
|
+
dataField: string;
|
|
9
|
+
nestedField?: string;
|
|
10
|
+
defaultValue?: types.stringArray;
|
|
11
|
+
value?: types.stringArray;
|
|
12
|
+
filterLabel?: string;
|
|
13
|
+
innerClass?: types.style;
|
|
14
|
+
onValueChange?: (...args: any[]) => any;
|
|
15
|
+
onChange?: (...args: any[]) => any;
|
|
16
|
+
onError?: (...args: any[]) => any;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
queryFormat?: types.queryFormatSearch;
|
|
19
|
+
react?: types.react;
|
|
20
|
+
render?: (...args: any[]) => any;
|
|
21
|
+
renderItem?: (...args: any[]) => any;
|
|
22
|
+
renderError?: types.title;
|
|
23
|
+
transformData?: (...args: any[]) => any;
|
|
24
|
+
selectAllLabel?: string;
|
|
25
|
+
showCheckbox?: boolean;
|
|
26
|
+
showCount?: boolean;
|
|
27
|
+
showFilter?: boolean;
|
|
28
|
+
showSearch?: boolean;
|
|
29
|
+
size?: number;
|
|
30
|
+
aggregationSize?: number;
|
|
31
|
+
sortBy?: types.sortByWithCount;
|
|
32
|
+
themePreset?: types.themePreset;
|
|
33
|
+
title?: types.title;
|
|
34
|
+
showMissing?: boolean;
|
|
35
|
+
missingLabel?: string;
|
|
36
|
+
showLoadMore?: boolean;
|
|
37
|
+
loadMoreLabel?: types.title;
|
|
38
|
+
children?: (...args: any[]) => any;
|
|
39
|
+
renderNoResults?: (...args: any[]) => any;
|
|
40
|
+
index?: string;
|
|
41
|
+
preferencesPath?: string;
|
|
42
|
+
endpoint?: types.endpointConfig;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare function MultiList(props: MultiListProps): JSX.Element;
|
|
46
|
+
|
|
47
|
+
export default MultiList;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { CommonProps } from '../../index';
|
|
2
|
+
import * as types from '../../types.ts';
|
|
3
|
+
|
|
4
|
+
export interface SingleDropdownListProps extends CommonProps {
|
|
5
|
+
beforeValueChange?: (...args: any[]) => any;
|
|
6
|
+
customQuery?: (...args: any[]) => any;
|
|
7
|
+
defaultQuery?: (...args: any[]) => any;
|
|
8
|
+
dataField: string;
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
filterLabel?: string;
|
|
12
|
+
innerClass?: types.style;
|
|
13
|
+
onValueChange?: (...args: any[]) => any;
|
|
14
|
+
onChange?: (...args: any[]) => any;
|
|
15
|
+
onError?: (...args: any[]) => any;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
searchPlaceholder?: string;
|
|
18
|
+
react?: types.react;
|
|
19
|
+
render?: (...args: any[]) => any;
|
|
20
|
+
renderItem?: (...args: any[]) => any;
|
|
21
|
+
renderLabel?: (...args: any[]) => any;
|
|
22
|
+
renderError?: types.title;
|
|
23
|
+
transformData?: (...args: any[]) => any;
|
|
24
|
+
selectAllLabel?: string;
|
|
25
|
+
showCount?: boolean;
|
|
26
|
+
showFilter?: boolean;
|
|
27
|
+
size?: number;
|
|
28
|
+
aggregationSize?: number;
|
|
29
|
+
sortBy?: types.sortByWithCount;
|
|
30
|
+
title?: types.title;
|
|
31
|
+
themePreset?: types.themePreset;
|
|
32
|
+
showMissing?: boolean;
|
|
33
|
+
missingLabel?: string;
|
|
34
|
+
showLoadMore?: boolean;
|
|
35
|
+
loadMoreLabel?: types.title;
|
|
36
|
+
nestedField?: string;
|
|
37
|
+
renderNoResults?: (...args: any[]) => any;
|
|
38
|
+
showSearch?: boolean;
|
|
39
|
+
index?: string;
|
|
40
|
+
preferencesPath?: string;
|
|
41
|
+
showClear?: boolean;
|
|
42
|
+
endpoint?: types.endpointConfig;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare function SingleDropdownList(props: SingleDropdownListProps): JSX.Element;
|
|
46
|
+
|
|
47
|
+
export default SingleDropdownList;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { CommonProps } from '../../index';
|
|
2
|
+
import * as types from '../../types.ts';
|
|
3
|
+
|
|
4
|
+
export interface SingleListProps extends CommonProps {
|
|
5
|
+
beforeValueChange?: (...args: any[]) => any;
|
|
6
|
+
customQuery?: (...args: any[]) => any;
|
|
7
|
+
defaultQuery?: (...args: any[]) => any;
|
|
8
|
+
dataField?: string;
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
filterLabel?: string;
|
|
12
|
+
innerClass?: types.style;
|
|
13
|
+
nestedField?: string;
|
|
14
|
+
onValueChange?: (...args: any[]) => any;
|
|
15
|
+
onChange?: (...args: any[]) => any;
|
|
16
|
+
onError?: (...args: any[]) => any;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
react?: types.react;
|
|
19
|
+
render?: (...args: any[]) => any;
|
|
20
|
+
renderItem?: (...args: any[]) => any;
|
|
21
|
+
renderError?: types.title;
|
|
22
|
+
transformData?: (...args: any[]) => any;
|
|
23
|
+
selectAllLabel?: string;
|
|
24
|
+
showCount?: boolean;
|
|
25
|
+
showFilter?: boolean;
|
|
26
|
+
showRadio?: boolean;
|
|
27
|
+
showSearch?: boolean;
|
|
28
|
+
size?: number;
|
|
29
|
+
aggregationSize?: number;
|
|
30
|
+
sortBy?: types.sortByWithCount;
|
|
31
|
+
themePreset?: types.themePreset;
|
|
32
|
+
title?: types.title;
|
|
33
|
+
showMissing?: boolean;
|
|
34
|
+
missingLabel?: string;
|
|
35
|
+
showLoadMore?: boolean;
|
|
36
|
+
loadMoreLabel?: types.title;
|
|
37
|
+
children?: (...args: any[]) => any;
|
|
38
|
+
renderNoResults?: (...args: any[]) => any;
|
|
39
|
+
index?: string;
|
|
40
|
+
preferencesPath?: string;
|
|
41
|
+
enableStrictSelection?: boolean;
|
|
42
|
+
endpoint?: types.endpointConfig;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare function SingleList(props: SingleListProps): JSX.Element;
|
|
46
|
+
|
|
47
|
+
export default SingleList;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { CommonProps } from '../../index';
|
|
2
|
+
import * as types from '../../types.ts';
|
|
3
|
+
|
|
4
|
+
export interface ToggleButtonProps extends CommonProps {
|
|
5
|
+
customQuery?: (...args: any[]) => any;
|
|
6
|
+
data?: types.data;
|
|
7
|
+
dataField: string;
|
|
8
|
+
defaultValue?: types.stringOrArray;
|
|
9
|
+
value?: types.stringOrArray;
|
|
10
|
+
onValueChange?: (...args: any[]) => any;
|
|
11
|
+
onChange?: (...args: any[]) => any;
|
|
12
|
+
filterLabel?: string;
|
|
13
|
+
innerClass?: types.style;
|
|
14
|
+
multiSelect?: boolean;
|
|
15
|
+
nestedField?: string;
|
|
16
|
+
react?: types.react;
|
|
17
|
+
showFilter?: boolean;
|
|
18
|
+
title?: types.title;
|
|
19
|
+
index?: string;
|
|
20
|
+
preferencesPath?: string;
|
|
21
|
+
// component props
|
|
22
|
+
className?: string;
|
|
23
|
+
componentId: string;
|
|
24
|
+
onQueryChange?: (...args: any[]) => any;
|
|
25
|
+
style?: types.style;
|
|
26
|
+
URLParams?: boolean;
|
|
27
|
+
enableStrictSelection?: boolean;
|
|
28
|
+
endpoint?: types.endpointConfig;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare function ToggleButton(props: ToggleButtonProps): JSX.Element;
|
|
32
|
+
|
|
33
|
+
export default ToggleButton;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import type { CommonProps } from '../../index';
|
|
3
|
+
import * as types from '../../types.ts';
|
|
4
|
+
|
|
5
|
+
export interface TreeListProps extends CommonProps {
|
|
6
|
+
componentId: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: types.style;
|
|
9
|
+
showRadio?: boolean;
|
|
10
|
+
showCheckbox?: boolean;
|
|
11
|
+
mode: 'single' | 'multiple';
|
|
12
|
+
showCount?: boolean;
|
|
13
|
+
showSearch?: boolean;
|
|
14
|
+
showIcon?: boolean;
|
|
15
|
+
icon?: types.children;
|
|
16
|
+
showLeafIcon?: boolean;
|
|
17
|
+
leafIcon?: types.children;
|
|
18
|
+
showLine?: boolean;
|
|
19
|
+
showSwitcherIcon?: boolean;
|
|
20
|
+
switcherIcon?: (expanded: boolean) => types.children;
|
|
21
|
+
render?: (data: any) => VNode[];
|
|
22
|
+
renderItem?: (item: any, count?: number, isSelected?: boolean) => any;
|
|
23
|
+
dataField: types.stringArray;
|
|
24
|
+
showFilter?: boolean;
|
|
25
|
+
index?: string;
|
|
26
|
+
onValueChange?: (...args: any[]) => any;
|
|
27
|
+
onChange?: (...args: any[]) => any;
|
|
28
|
+
onError?: (...args: any[]) => any;
|
|
29
|
+
defaultValue?: types.stringArray;
|
|
30
|
+
value?: types.stringArray;
|
|
31
|
+
beforeValueChange?: (...args: any[]) => any;
|
|
32
|
+
customQuery?: (...args: any[]) => any;
|
|
33
|
+
defaultQuery?: (...args: any[]) => any;
|
|
34
|
+
endpoint?: types.endpointConfig;
|
|
35
|
+
title?: types.title;
|
|
36
|
+
queryFormat?: types.queryFormatSearch;
|
|
37
|
+
sortBy?: types.sortByWithCount;
|
|
38
|
+
size?: number;
|
|
39
|
+
nestedField?: string;
|
|
40
|
+
URLParams?: boolean;
|
|
41
|
+
innerClass?: types.style;
|
|
42
|
+
placeholder?: string;
|
|
43
|
+
react?: types.react;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare function TreeList(props: TreeListProps): JSX.Element;
|
|
47
|
+
|
|
48
|
+
export default TreeList;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { CommonProps } from '../..';
|
|
2
|
+
import * as types from '../../types.ts';
|
|
3
|
+
|
|
4
|
+
export interface DynamicRangeSliderProps extends CommonProps {
|
|
5
|
+
beforeValueChange?: (...args: any[]) => any;
|
|
6
|
+
className?: string;
|
|
7
|
+
customQuery?: (...args: any[]) => any;
|
|
8
|
+
dataField: string;
|
|
9
|
+
defaultValue?: (...args: any[]) => any;
|
|
10
|
+
value?: (...args: any[]) => any;
|
|
11
|
+
filterLabel?: string;
|
|
12
|
+
innerClass?: types.style;
|
|
13
|
+
interval?: number;
|
|
14
|
+
nestedField?: string;
|
|
15
|
+
onDrag?: (...args: any[]) => any;
|
|
16
|
+
onValueChange?: (...args: any[]) => any;
|
|
17
|
+
onChange?: (...args: any[]) => any;
|
|
18
|
+
rangeLabels?: (...args: any[]) => any;
|
|
19
|
+
react?: types.react;
|
|
20
|
+
showHistogram?: boolean;
|
|
21
|
+
snap?: boolean;
|
|
22
|
+
loader?: any;
|
|
23
|
+
stepValue?: number;
|
|
24
|
+
title?: types.title;
|
|
25
|
+
showFilter?: boolean;
|
|
26
|
+
tooltipTrigger?: types.tooltipTrigger;
|
|
27
|
+
renderTooltipData?: (...args: any[]) => any;
|
|
28
|
+
includeNullValues?: boolean;
|
|
29
|
+
index?: string;
|
|
30
|
+
preferencesPath?: string;
|
|
31
|
+
queryFormat?: types.queryFormatDate;
|
|
32
|
+
calendarInterval?: types.calendarInterval;
|
|
33
|
+
endpoint?: types.endpointConfig;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare function DynamicRange(props: DynamicRangeSliderProps): JSX.Element;
|
|
37
|
+
|
|
38
|
+
export default DynamicRange;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { CommonProps } from '../..';
|
|
2
|
+
import * as types from '../../types.ts';
|
|
3
|
+
|
|
4
|
+
export interface MultiRangeProps extends CommonProps {
|
|
5
|
+
beforeValueChange?: (...args: any[]) => any;
|
|
6
|
+
customQuery?: (...args: any[]) => any;
|
|
7
|
+
data?: types.data;
|
|
8
|
+
dataField: string;
|
|
9
|
+
defaultValue?: types.stringArray;
|
|
10
|
+
value?: types.stringArray;
|
|
11
|
+
filterLabel?: types.filterLabel;
|
|
12
|
+
innerClass?: types.style;
|
|
13
|
+
nestedField?: string;
|
|
14
|
+
onValueChange?: (...args: any[]) => any;
|
|
15
|
+
onChange?: (...args: any[]) => any;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
react?: types.react;
|
|
18
|
+
showCheckbox: boolean;
|
|
19
|
+
showFilter?: boolean;
|
|
20
|
+
supportedOrientations?: types.supportedOrientations;
|
|
21
|
+
title?: types.title;
|
|
22
|
+
includeNullValues?: boolean;
|
|
23
|
+
index?: string;
|
|
24
|
+
preferencesPath?: string;
|
|
25
|
+
endpoint?: types.endpointConfig;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare function MultiRange(props: MultiRangeProps): JSX.Element;
|
|
29
|
+
|
|
30
|
+
export default MultiRange;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { CommonProps } from '../..';
|
|
2
|
+
import * as types from '../../types.ts';
|
|
3
|
+
|
|
4
|
+
export interface RangeInputProps extends CommonProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
dataField: string;
|
|
7
|
+
defaultValue?: types.range;
|
|
8
|
+
value?: types.range;
|
|
9
|
+
innerClass?: types.style;
|
|
10
|
+
onValueChange?: (...args: any[]) => any;
|
|
11
|
+
validateRange?: (value: Array<number>) => boolean;
|
|
12
|
+
onChange?: (...args: any[]) => any;
|
|
13
|
+
range: types.range;
|
|
14
|
+
rangeLabels: types.rangeLabels;
|
|
15
|
+
stepValue?: number;
|
|
16
|
+
style: types.style;
|
|
17
|
+
themePreset?: types.themePreset;
|
|
18
|
+
selectedValue?: types.selectedValue;
|
|
19
|
+
includeNullValues?: boolean;
|
|
20
|
+
showHistogram?: boolean;
|
|
21
|
+
index?: string;
|
|
22
|
+
preferencesPath?: string;
|
|
23
|
+
queryFormat?: types.queryFormatDate;
|
|
24
|
+
calendarInterval?: types.calendarInterval;
|
|
25
|
+
endpoint?: types.endpointConfig;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare function RangeInput(props: RangeInputProps): JSX.Element;
|
|
29
|
+
|
|
30
|
+
export default RangeInput;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { CommonProps } from '../..';
|
|
2
|
+
import * as types from '../../types.ts';
|
|
3
|
+
|
|
4
|
+
export interface RangeSliderProps extends CommonProps {
|
|
5
|
+
beforeValueChange?: (...args: any[]) => any;
|
|
6
|
+
customQuery?: (...args: any[]) => any;
|
|
7
|
+
histogramQuery?: (props: RangeSliderProps) => any;
|
|
8
|
+
dataField: string;
|
|
9
|
+
defaultValue?: types.range;
|
|
10
|
+
value?: types.range;
|
|
11
|
+
filterLabel?: string;
|
|
12
|
+
innerClass?: types.style;
|
|
13
|
+
interval?: number;
|
|
14
|
+
nestedField?: string;
|
|
15
|
+
onDrag?: (...args: any[]) => any;
|
|
16
|
+
onValueChange?: (...args: any[]) => any;
|
|
17
|
+
onChange?: (...args: any[]) => any;
|
|
18
|
+
validateRange?: (value: Array<number>) => boolean;
|
|
19
|
+
range?: types.range;
|
|
20
|
+
rangeLabels?: types.rangeLabels;
|
|
21
|
+
react?: types.react;
|
|
22
|
+
showHistogram?: boolean;
|
|
23
|
+
showSlider?: boolean;
|
|
24
|
+
snap?: boolean;
|
|
25
|
+
stepValue?: number;
|
|
26
|
+
title?: types.title;
|
|
27
|
+
showFilter?: boolean;
|
|
28
|
+
tooltipTrigger?: types.tooltipTrigger;
|
|
29
|
+
renderTooltipData?: (...args: any[]) => any;
|
|
30
|
+
includeNullValues?: boolean;
|
|
31
|
+
index?: string;
|
|
32
|
+
preferencesPath?: string;
|
|
33
|
+
queryFormat?: types.queryFormatDate;
|
|
34
|
+
calendarInterval?: types.calendarInterval;
|
|
35
|
+
endpoint?: types.endpointConfig;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare function RangeSlider(props: RangeSliderProps): JSX.Element;
|
|
39
|
+
|
|
40
|
+
export default RangeSlider;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { CommonProps } from '../..';
|
|
2
|
+
import * as types from '../../types.ts';
|
|
3
|
+
|
|
4
|
+
export interface SingleRangeProps extends CommonProps {
|
|
5
|
+
beforeValueChange?: (...args: any[]) => any;
|
|
6
|
+
customQuery?: (...args: any[]) => any;
|
|
7
|
+
data?: types.data;
|
|
8
|
+
dataField: string;
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
filterLabel?: string;
|
|
12
|
+
innerClass?: types.style;
|
|
13
|
+
nestedField?: string;
|
|
14
|
+
onValueChange?: (...args: any[]) => any;
|
|
15
|
+
onChange?: (...args: any[]) => any;
|
|
16
|
+
react?: types.react;
|
|
17
|
+
showFilter?: boolean;
|
|
18
|
+
showRadio: boolean;
|
|
19
|
+
title?: types.title;
|
|
20
|
+
includeNullValues?: boolean;
|
|
21
|
+
index?: string;
|
|
22
|
+
preferencesPath?: string;
|
|
23
|
+
endpoint?: types.endpointConfig;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare function SingleRange(props: SingleRangeProps): JSX.Element;
|
|
27
|
+
|
|
28
|
+
export default SingleRange;
|