@appbaseio/reactivesearch-vue 3.0.0-rc.1 → 3.0.0-rc.10

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.
Files changed (90) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +12245 -1576
  2. package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
  3. package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
  4. package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
  5. package/dist/cjs/{Button-d4da7470.js → Button-f96a0570.js} +14 -7
  6. package/dist/cjs/{ComponentWrapper-9146d811.js → ComponentWrapper-0334c14b.js} +4 -1
  7. package/dist/cjs/{DropDown-b16418e9.js → DropDown-eb2aeafa.js} +19 -8
  8. package/dist/cjs/DynamicRangeSlider.js +6 -4
  9. package/dist/cjs/Input-18e425fb.js +97 -0
  10. package/dist/cjs/MultiDropdownList.js +8 -7
  11. package/dist/cjs/MultiList.js +5 -5
  12. package/dist/cjs/MultiRange.js +4 -4
  13. package/dist/cjs/{Pagination-b953a80a.js → Pagination-c44adce0.js} +2 -2
  14. package/dist/cjs/{PreferencesConsumer-85dee673.js → PreferencesConsumer-7bee3c57.js} +1 -1
  15. package/dist/cjs/RangeInput.js +7 -5
  16. package/dist/cjs/RangeSlider.js +7 -5
  17. package/dist/cjs/ReactiveBase.js +16 -18
  18. package/dist/cjs/ReactiveComponent.js +4 -4
  19. package/dist/cjs/ReactiveGoogleMap.js +7 -6
  20. package/dist/cjs/ReactiveList.js +6 -6
  21. package/dist/cjs/ResultCard.js +1 -1
  22. package/dist/cjs/ResultList.js +1 -1
  23. package/dist/cjs/SelectedFilters.js +4 -3
  24. package/dist/cjs/SingleDropdownList.js +8 -7
  25. package/dist/cjs/SingleList.js +5 -5
  26. package/dist/cjs/SingleRange.js +4 -4
  27. package/dist/cjs/StateProvider.js +1 -1
  28. package/dist/cjs/ToggleButton.js +6 -5
  29. package/dist/cjs/{index-779ed366.js → index-1f41363f.js} +7 -3
  30. package/dist/cjs/index.js +15 -9
  31. package/dist/cjs/{install-7cdf6798.js → install-0e8729aa.js} +1688 -284
  32. package/dist/cjs/install.js +14 -9
  33. package/dist/cjs/version.js +1 -1
  34. package/dist/cjs/{vueTypes-1bf00978.js → vueTypes-0dba0df2.js} +18 -0
  35. package/dist/components/ReactiveBase/ReactiveBase.d.ts +33 -0
  36. package/dist/components/basic/ReactiveComponent.d.ts +30 -0
  37. package/dist/components/basic/ReactiveComponentPrivate.d.ts +10 -0
  38. package/dist/components/basic/SelectedFilters.d.ts +24 -0
  39. package/dist/components/basic/StateProvider.d.ts +12 -0
  40. package/dist/components/list/MultiDropdownList.d.ts +49 -0
  41. package/dist/components/list/MultiList.d.ts +47 -0
  42. package/dist/components/list/SingleDropdownList.d.ts +47 -0
  43. package/dist/components/list/SingleList.d.ts +47 -0
  44. package/dist/components/list/ToggleButton.d.ts +33 -0
  45. package/dist/components/list/TreeList.d.ts +48 -0
  46. package/dist/components/range/DynamicRangeSlider.d.ts +38 -0
  47. package/dist/components/range/MultiRange.d.ts +30 -0
  48. package/dist/components/range/RangeInput.d.ts +30 -0
  49. package/dist/components/range/RangeSlider.d.ts +40 -0
  50. package/dist/components/range/SingleRange.d.ts +28 -0
  51. package/dist/components/result/ReactiveList.d.ts +55 -0
  52. package/dist/components/result/ResultCard.d.ts +10 -0
  53. package/dist/components/result/ResultList.d.ts +11 -0
  54. package/dist/components/search/AIAnswer.d.ts +39 -0
  55. package/dist/components/search/SearchBox.d.ts +106 -0
  56. package/dist/es/{Button-fd869491.js → Button-5c2cf399.js} +14 -7
  57. package/dist/es/{ComponentWrapper-8a3c388d.js → ComponentWrapper-46d04344.js} +4 -1
  58. package/dist/es/{DropDown-fc1fef02.js → DropDown-4a7b4864.js} +19 -9
  59. package/dist/es/DynamicRangeSlider.js +7 -5
  60. package/dist/es/Input-26360449.js +89 -0
  61. package/dist/es/MultiDropdownList.js +8 -7
  62. package/dist/es/MultiList.js +5 -5
  63. package/dist/es/MultiRange.js +4 -4
  64. package/dist/es/{Pagination-c2745bec.js → Pagination-aae4e95f.js} +2 -2
  65. package/dist/es/{PreferencesConsumer-b058d14e.js → PreferencesConsumer-0856ed43.js} +1 -1
  66. package/dist/es/RangeInput.js +7 -5
  67. package/dist/es/RangeSlider.js +8 -6
  68. package/dist/es/ReactiveBase.js +16 -18
  69. package/dist/es/ReactiveComponent.js +4 -4
  70. package/dist/es/ReactiveGoogleMap.js +7 -6
  71. package/dist/es/ReactiveList.js +6 -6
  72. package/dist/es/ResultCard.js +1 -1
  73. package/dist/es/ResultList.js +1 -1
  74. package/dist/es/SelectedFilters.js +4 -3
  75. package/dist/es/SingleDropdownList.js +8 -7
  76. package/dist/es/SingleList.js +5 -5
  77. package/dist/es/SingleRange.js +4 -4
  78. package/dist/es/StateProvider.js +1 -1
  79. package/dist/es/ToggleButton.js +6 -5
  80. package/dist/es/{index-882489e1.js → index-104f1dfb.js} +7 -3
  81. package/dist/es/index.js +15 -10
  82. package/dist/es/{install-0c7962bc.js → install-78ac6225.js} +1651 -248
  83. package/dist/es/install.js +14 -9
  84. package/dist/es/version.js +1 -1
  85. package/dist/es/{vueTypes-f1923c72.js → vueTypes-409296a9.js} +18 -0
  86. package/dist/index.d.ts +39 -0
  87. package/dist/types.ts +224 -0
  88. package/package.json +8 -4
  89. package/dist/cjs/Input-497be42a.js +0 -74
  90. package/dist/es/Input-f7499ef8.js +0 -69
@@ -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-d4da7470.js');
16
- require('./vueTypes-1bf00978.js');
17
- require('./Pagination-b953a80a.js');
15
+ require('./Button-f96a0570.js');
16
+ require('./vueTypes-0dba0df2.js');
17
+ require('./Pagination-c44adce0.js');
18
18
  require('./ReactiveList.js');
19
19
  require('@appbaseio/reactivecore/lib/utils/transform');
20
20
  require('redux');
21
- require('./index-779ed366.js');
22
- require('./ComponentWrapper-9146d811.js');
23
- require('./PreferencesConsumer-85dee673.js');
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,12 +32,15 @@ require('@appbaseio/analytics');
32
32
  require('url-search-params-polyfill');
33
33
  require('./ReactiveBase.js');
34
34
  require('hotkeys-js');
35
- var install = require('./install-7cdf6798.js');
36
- require('./DropDown-b16418e9.js');
37
- require('./Input-497be42a.js');
35
+ require('remarkable');
36
+ require('xss');
37
+ var install = require('./install-0e8729aa.js');
38
+ require('./DropDown-eb2aeafa.js');
39
+ require('./Input-18e425fb.js');
38
40
  require('compute-scroll-into-view');
39
41
  require('./Container-29f049b2.js');
40
42
  require('vue-highlight-words');
43
+ require('@appbaseio/reactivecore/lib/actions/query');
41
44
  require('@appbaseio/reactivecore/lib/utils/suggestions');
42
45
  require('./FormControlList-fadd792f.js');
43
46
  require('./utils-c9bd5628.js');
@@ -48,6 +51,8 @@ require('./SingleDropdownList.js');
48
51
  require('./MultiDropdownList.js');
49
52
  require('./ToggleButton.js');
50
53
  require('./ReactiveComponent.js');
54
+ require('vue-slider-component');
55
+ require('vue-slider-component/theme/antd.css');
51
56
  require('./ssr-8dd13d43.js');
52
57
  require('./DynamicRangeSlider.js');
53
58
  require('./SingleRange.js');
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "3.0.0-rc.1";
5
+ var version = "3.0.0-rc.10";
6
6
 
7
7
  exports.default = version;
@@ -124,6 +124,24 @@ 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
+ renderSourceDocument: VueTypes.func,
141
+ onSourceClick: VueTypes.func,
142
+ // renderAskButton: VueTypes.func,has to be a slot
143
+ askButton: VueTypes.bool,
144
+ showFeedback: VueTypes.bool
127
145
  })
128
146
  };
129
147
 
@@ -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;